DefaultIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. DefaultIdentity
- com.
Implements
public final class DefaultIdentity
implements JsonSerializable<DefaultIdentity>
The DefaultIdentity model.
Constructor Summary
| Constructor | Description |
|---|---|
| DefaultIdentity() |
Creates an instance of Default |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Default |
fromJson(JsonReader jsonReader)
Reads an instance of Default |
|
Managed |
identityType()
Get the identity |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
userAssignedIdentityResourceId()
Get the user |
| void |
validate()
Validates the instance. |
|
Default |
withIdentityType(ManagedServiceIdentityType identityType)
Set the identity |
|
Default |
withUserAssignedIdentityResourceId(String userAssignedIdentityResourceId)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
DefaultIdentity
public DefaultIdentity()
Creates an instance of DefaultIdentity class.
Method Details
fromJson
public static DefaultIdentity fromJson(JsonReader jsonReader)
Reads an instance of DefaultIdentity from the JsonReader.
Parameters:
Returns:
Throws:
identityType
public ManagedServiceIdentityType identityType()
Get the identityType property: The identityType property.
Returns:
toJson
userAssignedIdentityResourceId
public String userAssignedIdentityResourceId()
Get the userAssignedIdentityResourceId property: The userAssignedIdentityResourceId property.
Returns:
validate
public void validate()
Validates the instance.
withIdentityType
public DefaultIdentity withIdentityType(ManagedServiceIdentityType identityType)
Set the identityType property: The identityType property.
Parameters:
Returns:
withUserAssignedIdentityResourceId
public DefaultIdentity withUserAssignedIdentityResourceId(String userAssignedIdentityResourceId)
Set the userAssignedIdentityResourceId property: The userAssignedIdentityResourceId property.
Parameters:
Returns: