ManagedIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. IdentityConfiguration - com.
azure. resourcemanager. machinelearning. models. ManagedIdentity
- com.
- com.
public final class ManagedIdentity
extends IdentityConfiguration
Managed identity configuration.
Constructor Summary
| Constructor | Description |
|---|---|
| ManagedIdentity() |
Creates an instance of Managed |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| UUID |
clientId()
Get the client |
|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
|
Identity |
identityType()
Get the identity |
| UUID |
objectId()
Get the object |
| String |
resourceId()
Get the resource |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Managed |
withClientId(UUID clientId)
Set the client |
|
Managed |
withObjectId(UUID objectId)
Set the object |
|
Managed |
withResourceId(String resourceId)
Set the resource |
Methods inherited from IdentityConfiguration
Methods inherited from java.lang.Object
Constructor Details
ManagedIdentity
public ManagedIdentity()
Creates an instance of ManagedIdentity class.
Method Details
clientId
public UUID clientId()
Get the clientId property: Specifies a user-assigned identity by client ID. For system-assigned, do not set this field.
Returns:
fromJson
public static ManagedIdentity fromJson(JsonReader jsonReader)
Reads an instance of ManagedIdentity from the JsonReader.
Parameters:
Returns:
Throws:
identityType
public IdentityConfigurationType identityType()
Get the identityType property: [Required] Specifies the type of identity framework.
Overrides:
ManagedIdentity.identityType()Returns:
objectId
public UUID objectId()
Get the objectId property: Specifies a user-assigned identity by object ID. For system-assigned, do not set this field.
Returns:
resourceId
public String resourceId()
Get the resourceId property: Specifies a user-assigned identity by ARM resource ID. For system-assigned, do not set this field.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ManagedIdentity.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
ManagedIdentity.validate()withClientId
public ManagedIdentity withClientId(UUID clientId)
Set the clientId property: Specifies a user-assigned identity by client ID. For system-assigned, do not set this field.
Parameters:
Returns:
withObjectId
public ManagedIdentity withObjectId(UUID objectId)
Set the objectId property: Specifies a user-assigned identity by object ID. For system-assigned, do not set this field.
Parameters:
Returns:
withResourceId
public ManagedIdentity withResourceId(String resourceId)
Set the resourceId property: Specifies a user-assigned identity by ARM resource ID. For system-assigned, do not set this field.
Parameters:
Returns: