Class ManagedIdentityProperties
- java.lang.Object
-
- com.azure.resourcemanager.appplatform.models.ManagedIdentityProperties
-
public final class ManagedIdentityProperties extends Object
Managed identity properties retrieved from ARM request headers.
-
-
Constructor Summary
Constructors Constructor Description ManagedIdentityProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringprincipalId()Get the principalId property: Principal Id.StringtenantId()Get the tenantId property: Tenant Id.ManagedIdentityTypetype()Get the type property: Type of the managed identity.voidvalidate()Validates the instance.ManagedIdentityPropertieswithPrincipalId(String principalId)Set the principalId property: Principal Id.ManagedIdentityPropertieswithTenantId(String tenantId)Set the tenantId property: Tenant Id.ManagedIdentityPropertieswithType(ManagedIdentityType type)Set the type property: Type of the managed identity.
-
-
-
Method Detail
-
type
public ManagedIdentityType type()
Get the type property: Type of the managed identity.- Returns:
- the type value.
-
withType
public ManagedIdentityProperties withType(ManagedIdentityType type)
Set the type property: Type of the managed identity.- Parameters:
type- the type value to set.- Returns:
- the ManagedIdentityProperties object itself.
-
principalId
public String principalId()
Get the principalId property: Principal Id.- Returns:
- the principalId value.
-
withPrincipalId
public ManagedIdentityProperties withPrincipalId(String principalId)
Set the principalId property: Principal Id.- Parameters:
principalId- the principalId value to set.- Returns:
- the ManagedIdentityProperties object itself.
-
tenantId
public String tenantId()
Get the tenantId property: Tenant Id.- Returns:
- the tenantId value.
-
withTenantId
public ManagedIdentityProperties withTenantId(String tenantId)
Set the tenantId property: Tenant Id.- Parameters:
tenantId- the tenantId value to set.- Returns:
- the ManagedIdentityProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-