IdentityDetails Class

  • java.lang.Object
    • com.azure.resourcemanager.dataprotection.models.IdentityDetails

Implements

public final class IdentityDetails
implements JsonSerializable<IdentityDetails>

The IdentityDetails model.

Constructor Summary

Constructor Description
IdentityDetails()

Creates an instance of IdentityDetails class.

Method Summary

Modifier and Type Method and Description
static IdentityDetails fromJson(JsonReader jsonReader)

Reads an instance of IdentityDetails from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
String userAssignedIdentityArmUrl()

Get the userAssignedIdentityArmUrl property: ARM URL for User Assigned Identity.

Boolean useSystemAssignedIdentity()

Get the useSystemAssignedIdentity property: Specifies if the BI is protected by System Identity.

IdentityDetails withUserAssignedIdentityArmUrl(String userAssignedIdentityArmUrl)

Set the userAssignedIdentityArmUrl property: ARM URL for User Assigned Identity.

IdentityDetails withUseSystemAssignedIdentity(Boolean useSystemAssignedIdentity)

Set the useSystemAssignedIdentity property: Specifies if the BI is protected by System Identity.

Methods inherited from java.lang.Object

Constructor Details

IdentityDetails

public IdentityDetails()

Creates an instance of IdentityDetails class.

Method Details

fromJson

public static IdentityDetails fromJson(JsonReader jsonReader)

Reads an instance of IdentityDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

userAssignedIdentityArmUrl

public String userAssignedIdentityArmUrl()

Get the userAssignedIdentityArmUrl property: ARM URL for User Assigned Identity.

Returns:

the userAssignedIdentityArmUrl value.

useSystemAssignedIdentity

public Boolean useSystemAssignedIdentity()

Get the useSystemAssignedIdentity property: Specifies if the BI is protected by System Identity.

Returns:

the useSystemAssignedIdentity value.

withUserAssignedIdentityArmUrl

public IdentityDetails withUserAssignedIdentityArmUrl(String userAssignedIdentityArmUrl)

Set the userAssignedIdentityArmUrl property: ARM URL for User Assigned Identity.

Parameters:

userAssignedIdentityArmUrl - the userAssignedIdentityArmUrl value to set.

Returns:

the IdentityDetails object itself.

withUseSystemAssignedIdentity

public IdentityDetails withUseSystemAssignedIdentity(Boolean useSystemAssignedIdentity)

Set the useSystemAssignedIdentity property: Specifies if the BI is protected by System Identity.

Parameters:

useSystemAssignedIdentity - the useSystemAssignedIdentity value to set.

Returns:

the IdentityDetails object itself.

Applies to