Apple Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.Apple

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: false if the Apple provider should not be enabled despite the set registration; otherwise, true.

static Apple fromJson(JsonReader jsonReader)

Reads an instance of Apple from the JsonReader.

LoginScopes login()

Get the login property: The configuration settings of the login flow.

AppleRegistration registration()

Get the registration property: The configuration settings of the Apple registration.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Apple withEnabled(Boolean enabled)

Set the enabled property: false if the Apple provider should not be enabled despite the set registration; otherwise, true.

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:

the enabled value.

fromJson

public static Apple fromJson(JsonReader jsonReader)

Reads an instance of Apple from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of Apple if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the Apple.

login

public LoginScopes login()

Get the login property: The configuration settings of the login flow.

Returns:

the login value.

registration

public AppleRegistration registration()

Get the registration property: The configuration settings of the Apple registration.

Returns:

the registration value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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:

enabled - the enabled value to set.

Returns:

the Apple object itself.

withLogin

public Apple withLogin(LoginScopes login)

Set the login property: The configuration settings of the login flow.

Parameters:

login - the login value to set.

Returns:

the Apple object itself.

withRegistration

public Apple withRegistration(AppleRegistration registration)

Set the registration property: The configuration settings of the Apple registration.

Parameters:

registration - the registration value to set.

Returns:

the Apple object itself.

Applies to