次の方法で共有


AzureActiveDirectoryApp Class

  • java.lang.Object
    • com.azure.resourcemanager.datamigration.models.AzureActiveDirectoryApp

Implements

public final class AzureActiveDirectoryApp
implements JsonSerializable<AzureActiveDirectoryApp>

Azure Active Directory Application.

Constructor Summary

Constructor Description
AzureActiveDirectoryApp()

Creates an instance of AzureActiveDirectoryApp class.

Method Summary

Modifier and Type Method and Description
String appKey()

Get the appKey property: Key used to authenticate to the Azure Active Directory Application.

String applicationId()

Get the applicationId property: Application ID of the Azure Active Directory Application.

static AzureActiveDirectoryApp fromJson(JsonReader jsonReader)

Reads an instance of AzureActiveDirectoryApp from the JsonReader.

Boolean ignoreAzurePermissions()

Get the ignoreAzurePermissions property: Ignore checking azure permissions on the AAD app.

String tenantId()

Get the tenantId property: Tenant id of the customer.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AzureActiveDirectoryApp withAppKey(String appKey)

Set the appKey property: Key used to authenticate to the Azure Active Directory Application.

AzureActiveDirectoryApp withApplicationId(String applicationId)

Set the applicationId property: Application ID of the Azure Active Directory Application.

AzureActiveDirectoryApp withIgnoreAzurePermissions(Boolean ignoreAzurePermissions)

Set the ignoreAzurePermissions property: Ignore checking azure permissions on the AAD app.

AzureActiveDirectoryApp withTenantId(String tenantId)

Set the tenantId property: Tenant id of the customer.

Methods inherited from java.lang.Object

Constructor Details

AzureActiveDirectoryApp

public AzureActiveDirectoryApp()

Creates an instance of AzureActiveDirectoryApp class.

Method Details

appKey

public String appKey()

Get the appKey property: Key used to authenticate to the Azure Active Directory Application.

Returns:

the appKey value.

applicationId

public String applicationId()

Get the applicationId property: Application ID of the Azure Active Directory Application.

Returns:

the applicationId value.

fromJson

public static AzureActiveDirectoryApp fromJson(JsonReader jsonReader)

Reads an instance of AzureActiveDirectoryApp from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AzureActiveDirectoryApp 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 AzureActiveDirectoryApp.

ignoreAzurePermissions

public Boolean ignoreAzurePermissions()

Get the ignoreAzurePermissions property: Ignore checking azure permissions on the AAD app.

Returns:

the ignoreAzurePermissions value.

tenantId

public String tenantId()

Get the tenantId property: Tenant id of the customer.

Returns:

the tenantId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAppKey

public AzureActiveDirectoryApp withAppKey(String appKey)

Set the appKey property: Key used to authenticate to the Azure Active Directory Application.

Parameters:

appKey - the appKey value to set.

Returns:

the AzureActiveDirectoryApp object itself.

withApplicationId

public AzureActiveDirectoryApp withApplicationId(String applicationId)

Set the applicationId property: Application ID of the Azure Active Directory Application.

Parameters:

applicationId - the applicationId value to set.

Returns:

the AzureActiveDirectoryApp object itself.

withIgnoreAzurePermissions

public AzureActiveDirectoryApp withIgnoreAzurePermissions(Boolean ignoreAzurePermissions)

Set the ignoreAzurePermissions property: Ignore checking azure permissions on the AAD app.

Parameters:

ignoreAzurePermissions - the ignoreAzurePermissions value to set.

Returns:

the AzureActiveDirectoryApp object itself.

withTenantId

public AzureActiveDirectoryApp withTenantId(String tenantId)

Set the tenantId property: Tenant id of the customer.

Parameters:

tenantId - the tenantId value to set.

Returns:

the AzureActiveDirectoryApp object itself.

Applies to