JobAgentIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. JobAgentIdentity
- com.
Implements
public final class JobAgentIdentity
implements JsonSerializable<JobAgentIdentity>
Azure Active Directory identity configuration for a resource.
Constructor Summary
| Constructor | Description |
|---|---|
| JobAgentIdentity() |
Creates an instance of Job |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Job |
fromJson(JsonReader jsonReader)
Reads an instance of Job |
| UUID |
tenantId()
Get the tenant |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Job |
type()
Get the type property: The job agent identity type. |
|
Map<String,Job |
userAssignedIdentities()
Get the user |
| void |
validate()
Validates the instance. |
|
Job |
withTenantId(UUID tenantId)
Set the tenant |
|
Job |
withType(JobAgentIdentityType type)
Set the type property: The job agent identity type. |
|
Job |
withUserAssignedIdentities(Map<String,JobAgentUserAssignedIdentity> userAssignedIdentities)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
JobAgentIdentity
public JobAgentIdentity()
Creates an instance of JobAgentIdentity class.
Method Details
fromJson
public static JobAgentIdentity fromJson(JsonReader jsonReader)
Reads an instance of JobAgentIdentity from the JsonReader.
Parameters:
Returns:
Throws:
tenantId
public UUID tenantId()
Get the tenantId property: The job agent identity tenant id.
Returns:
toJson
type
public JobAgentIdentityType type()
Get the type property: The job agent identity type.
Returns:
userAssignedIdentities
public Map<String,JobAgentUserAssignedIdentity> userAssignedIdentities()
Get the userAssignedIdentities property: The resource ids of the user assigned identities to use.
Returns:
validate
public void validate()
Validates the instance.
withTenantId
public JobAgentIdentity withTenantId(UUID tenantId)
Set the tenantId property: The job agent identity tenant id.
Parameters:
Returns:
withType
public JobAgentIdentity withType(JobAgentIdentityType type)
Set the type property: The job agent identity type.
Parameters:
Returns:
withUserAssignedIdentities
public JobAgentIdentity withUserAssignedIdentities(Map<String,JobAgentUserAssignedIdentity> userAssignedIdentities)
Set the userAssignedIdentities property: The resource ids of the user assigned identities to use.
Parameters:
Returns: