IdentityProperties Class
- java.
lang. Object - com.
azure. resourcemanager. databox. models. IdentityProperties
- com.
Implements
public final class IdentityProperties
implements JsonSerializable<IdentityProperties>
Managed identity properties.
Constructor Summary
| Constructor | Description |
|---|---|
| IdentityProperties() |
Creates an instance of Identity |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Identity |
fromJson(JsonReader jsonReader)
Reads an instance of Identity |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Managed service identity type. |
|
User |
userAssigned()
Get the user |
| void |
validate()
Validates the instance. |
|
Identity |
withType(String type)
Set the type property: Managed service identity type. |
|
Identity |
withUserAssigned(UserAssignedProperties userAssigned)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
IdentityProperties
public IdentityProperties()
Creates an instance of IdentityProperties class.
Method Details
fromJson
public static IdentityProperties fromJson(JsonReader jsonReader)
Reads an instance of IdentityProperties from the JsonReader.
Parameters:
Returns:
Throws:
toJson
type
public String type()
Get the type property: Managed service identity type.
Returns:
userAssigned
public UserAssignedProperties userAssigned()
Get the userAssigned property: User assigned identity properties.
Returns:
validate
public void validate()
Validates the instance.
withType
public IdentityProperties withType(String type)
Set the type property: Managed service identity type.
Parameters:
Returns:
withUserAssigned
public IdentityProperties withUserAssigned(UserAssignedProperties userAssigned)
Set the userAssigned property: User assigned identity properties.
Parameters:
Returns: