Apple Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. Apple
- com.
Implements
public final class Apple
implements JsonSerializable<Apple>
The configuration settings of the Apple provider.
Constructor Summary
Constructor | Description |
---|---|
Apple() |
Creates an instance of Apple class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
enabled()
Get the enabled property: |
static Apple |
fromJson(JsonReader jsonReader)
Reads an instance of Apple from the Json |
Login |
login()
Get the login property: The configuration settings of the login flow. |
Apple |
registration()
Get the registration property: The configuration settings of the Apple registration. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Apple |
withEnabled(Boolean enabled)
Set the enabled property: |
Apple |
withLogin(LoginScopes login)
Set the login property: The configuration settings of the login flow. |
Apple |
withRegistration(AppleRegistration registration)
Set the registration property: The configuration settings of the Apple registration. |
Methods inherited from java.lang.Object
Constructor Details
Apple
public Apple()
Creates an instance of Apple class.
Method Details
enabled
public Boolean enabled()
Get the enabled property: false
if the Apple provider should not be enabled despite the set registration; otherwise, true
.
Returns:
fromJson
public static Apple fromJson(JsonReader jsonReader)
Reads an instance of Apple from the JsonReader.
Parameters:
Returns:
Throws:
login
public LoginScopes login()
Get the login property: The configuration settings of the login flow.
Returns:
registration
public AppleRegistration registration()
Get the registration property: The configuration settings of the Apple registration.
Returns:
toJson
validate
public void validate()
Validates the instance.
withEnabled
public Apple withEnabled(Boolean enabled)
Set the enabled property: false
if the Apple provider should not be enabled despite the set registration; otherwise, true
.
Parameters:
Returns:
withLogin
public Apple withLogin(LoginScopes login)
Set the login property: The configuration settings of the login flow.
Parameters:
Returns:
withRegistration
public Apple withRegistration(AppleRegistration registration)
Set the registration property: The configuration settings of the Apple registration.
Parameters:
Returns:
Applies to
Azure SDK for Java