你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

RoleAssignmentScheduleRequestInner Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.RoleAssignmentScheduleRequestInner

Implements

public final class RoleAssignmentScheduleRequestInner
implements JsonSerializable<RoleAssignmentScheduleRequestInner>

Role Assignment schedule request.

Constructor Summary

Constructor Description
RoleAssignmentScheduleRequestInner()

Creates an instance of RoleAssignmentScheduleRequestInner class.

Method Summary

Modifier and Type Method and Description
String approvalId()

Get the approvalId property: The approvalId of the role assignment schedule request.

String condition()

Get the condition property: The conditions on the role assignment.

String conditionVersion()

Get the conditionVersion property: Version of the condition.

OffsetDateTime createdOn()

Get the createdOn property: DateTime when role assignment schedule request was created.

ExpandedProperties expandedProperties()

Get the expandedProperties property: Additional properties of principal, scope and role definition.

static RoleAssignmentScheduleRequestInner fromJson(JsonReader jsonReader)

Reads an instance of RoleAssignmentScheduleRequestInner from the JsonReader.

String id()

Get the id property: The role assignment schedule request ID.

String justification()

Get the justification property: Justification for the role assignment.

String linkedRoleEligibilityScheduleId()

Get the linkedRoleEligibilityScheduleId property: The linked role eligibility schedule id - to activate an eligibility.

String name()

Get the name property: The role assignment schedule request name.

String principalId()

Get the principalId property: The principal ID.

PrincipalType principalType()

Get the principalType property: The principal type of the assigned principal ID.

RequestType requestType()

Get the requestType property: The type of the role assignment schedule request.

String requestorId()

Get the requestorId property: Id of the user who created this request.

String roleDefinitionId()

Get the roleDefinitionId property: The role definition ID.

RoleAssignmentScheduleRequestPropertiesScheduleInfo scheduleInfo()

Get the scheduleInfo property: Schedule info of the role assignment schedule.

String scope()

Get the scope property: The role assignment schedule request scope.

Status status()

Get the status property: The status of the role assignment schedule request.

String targetRoleAssignmentScheduleId()

Get the targetRoleAssignmentScheduleId property: The resultant role assignment schedule id or the role assignment schedule id being updated.

String targetRoleAssignmentScheduleInstanceId()

Get the targetRoleAssignmentScheduleInstanceId property: The role assignment schedule instance id being updated.

RoleAssignmentScheduleRequestPropertiesTicketInfo ticketInfo()

Get the ticketInfo property: Ticket Info of the role assignment.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The role assignment schedule request type.

void validate()

Validates the instance.

RoleAssignmentScheduleRequestInner withCondition(String condition)

Set the condition property: The conditions on the role assignment.

RoleAssignmentScheduleRequestInner withConditionVersion(String conditionVersion)

Set the conditionVersion property: Version of the condition.

RoleAssignmentScheduleRequestInner withJustification(String justification)

Set the justification property: Justification for the role assignment.

RoleAssignmentScheduleRequestInner withLinkedRoleEligibilityScheduleId(String linkedRoleEligibilityScheduleId)

Set the linkedRoleEligibilityScheduleId property: The linked role eligibility schedule id - to activate an eligibility.

RoleAssignmentScheduleRequestInner withPrincipalId(String principalId)

Set the principalId property: The principal ID.

RoleAssignmentScheduleRequestInner withRequestType(RequestType requestType)

Set the requestType property: The type of the role assignment schedule request.

RoleAssignmentScheduleRequestInner withRoleDefinitionId(String roleDefinitionId)

Set the roleDefinitionId property: The role definition ID.

RoleAssignmentScheduleRequestInner withScheduleInfo(RoleAssignmentScheduleRequestPropertiesScheduleInfo scheduleInfo)

Set the scheduleInfo property: Schedule info of the role assignment schedule.

RoleAssignmentScheduleRequestInner withTargetRoleAssignmentScheduleId(String targetRoleAssignmentScheduleId)

Set the targetRoleAssignmentScheduleId property: The resultant role assignment schedule id or the role assignment schedule id being updated.

RoleAssignmentScheduleRequestInner withTargetRoleAssignmentScheduleInstanceId(String targetRoleAssignmentScheduleInstanceId)

Set the targetRoleAssignmentScheduleInstanceId property: The role assignment schedule instance id being updated.

RoleAssignmentScheduleRequestInner withTicketInfo(RoleAssignmentScheduleRequestPropertiesTicketInfo ticketInfo)

Set the ticketInfo property: Ticket Info of the role assignment.

Methods inherited from java.lang.Object

Constructor Details

RoleAssignmentScheduleRequestInner

public RoleAssignmentScheduleRequestInner()

Creates an instance of RoleAssignmentScheduleRequestInner class.

Method Details

approvalId

public String approvalId()

Get the approvalId property: The approvalId of the role assignment schedule request.

Returns:

the approvalId value.

condition

public String condition()

Get the condition property: The conditions on the role assignment. This limits the resources it can be assigned to. e.g.: @Resource\[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container'.

Returns:

the condition value.

conditionVersion

public String conditionVersion()

Get the conditionVersion property: Version of the condition. Currently accepted value is '2.0'.

Returns:

the conditionVersion value.

createdOn

public OffsetDateTime createdOn()

Get the createdOn property: DateTime when role assignment schedule request was created.

Returns:

the createdOn value.

expandedProperties

public ExpandedProperties expandedProperties()

Get the expandedProperties property: Additional properties of principal, scope and role definition.

Returns:

the expandedProperties value.

fromJson

public static RoleAssignmentScheduleRequestInner fromJson(JsonReader jsonReader)

Reads an instance of RoleAssignmentScheduleRequestInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RoleAssignmentScheduleRequestInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the RoleAssignmentScheduleRequestInner.

id

public String id()

Get the id property: The role assignment schedule request ID.

Returns:

the id value.

justification

public String justification()

Get the justification property: Justification for the role assignment.

Returns:

the justification value.

linkedRoleEligibilityScheduleId

public String linkedRoleEligibilityScheduleId()

Get the linkedRoleEligibilityScheduleId property: The linked role eligibility schedule id - to activate an eligibility.

Returns:

the linkedRoleEligibilityScheduleId value.

name

public String name()

Get the name property: The role assignment schedule request name.

Returns:

the name value.

principalId

public String principalId()

Get the principalId property: The principal ID.

Returns:

the principalId value.

principalType

public PrincipalType principalType()

Get the principalType property: The principal type of the assigned principal ID.

Returns:

the principalType value.

requestType

public RequestType requestType()

Get the requestType property: The type of the role assignment schedule request. Eg: SelfActivate, AdminAssign etc.

Returns:

the requestType value.

requestorId

public String requestorId()

Get the requestorId property: Id of the user who created this request.

Returns:

the requestorId value.

roleDefinitionId

public String roleDefinitionId()

Get the roleDefinitionId property: The role definition ID.

Returns:

the roleDefinitionId value.

scheduleInfo

public RoleAssignmentScheduleRequestPropertiesScheduleInfo scheduleInfo()

Get the scheduleInfo property: Schedule info of the role assignment schedule.

Returns:

the scheduleInfo value.

scope

public String scope()

Get the scope property: The role assignment schedule request scope.

Returns:

the scope value.

status

public Status status()

Get the status property: The status of the role assignment schedule request.

Returns:

the status value.

targetRoleAssignmentScheduleId

public String targetRoleAssignmentScheduleId()

Get the targetRoleAssignmentScheduleId property: The resultant role assignment schedule id or the role assignment schedule id being updated.

Returns:

the targetRoleAssignmentScheduleId value.

targetRoleAssignmentScheduleInstanceId

public String targetRoleAssignmentScheduleInstanceId()

Get the targetRoleAssignmentScheduleInstanceId property: The role assignment schedule instance id being updated.

Returns:

the targetRoleAssignmentScheduleInstanceId value.

ticketInfo

public RoleAssignmentScheduleRequestPropertiesTicketInfo ticketInfo()

Get the ticketInfo property: Ticket Info of the role assignment.

Returns:

the ticketInfo value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The role assignment schedule request type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withCondition

public RoleAssignmentScheduleRequestInner withCondition(String condition)

Set the condition property: The conditions on the role assignment. This limits the resources it can be assigned to. e.g.: @Resource\[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container'.

Parameters:

condition - the condition value to set.

Returns:

the RoleAssignmentScheduleRequestInner object itself.

withConditionVersion

public RoleAssignmentScheduleRequestInner withConditionVersion(String conditionVersion)

Set the conditionVersion property: Version of the condition. Currently accepted value is '2.0'.

Parameters:

conditionVersion - the conditionVersion value to set.

Returns:

the RoleAssignmentScheduleRequestInner object itself.

withJustification

public RoleAssignmentScheduleRequestInner withJustification(String justification)

Set the justification property: Justification for the role assignment.

Parameters:

justification - the justification value to set.

Returns:

the RoleAssignmentScheduleRequestInner object itself.

withLinkedRoleEligibilityScheduleId

public RoleAssignmentScheduleRequestInner withLinkedRoleEligibilityScheduleId(String linkedRoleEligibilityScheduleId)

Set the linkedRoleEligibilityScheduleId property: The linked role eligibility schedule id - to activate an eligibility.

Parameters:

linkedRoleEligibilityScheduleId - the linkedRoleEligibilityScheduleId value to set.

Returns:

the RoleAssignmentScheduleRequestInner object itself.

withPrincipalId

public RoleAssignmentScheduleRequestInner withPrincipalId(String principalId)

Set the principalId property: The principal ID.

Parameters:

principalId - the principalId value to set.

Returns:

the RoleAssignmentScheduleRequestInner object itself.

withRequestType

public RoleAssignmentScheduleRequestInner withRequestType(RequestType requestType)

Set the requestType property: The type of the role assignment schedule request. Eg: SelfActivate, AdminAssign etc.

Parameters:

requestType - the requestType value to set.

Returns:

the RoleAssignmentScheduleRequestInner object itself.

withRoleDefinitionId

public RoleAssignmentScheduleRequestInner withRoleDefinitionId(String roleDefinitionId)

Set the roleDefinitionId property: The role definition ID.

Parameters:

roleDefinitionId - the roleDefinitionId value to set.

Returns:

the RoleAssignmentScheduleRequestInner object itself.

withScheduleInfo

public RoleAssignmentScheduleRequestInner withScheduleInfo(RoleAssignmentScheduleRequestPropertiesScheduleInfo scheduleInfo)

Set the scheduleInfo property: Schedule info of the role assignment schedule.

Parameters:

scheduleInfo - the scheduleInfo value to set.

Returns:

the RoleAssignmentScheduleRequestInner object itself.

withTargetRoleAssignmentScheduleId

public RoleAssignmentScheduleRequestInner withTargetRoleAssignmentScheduleId(String targetRoleAssignmentScheduleId)

Set the targetRoleAssignmentScheduleId property: The resultant role assignment schedule id or the role assignment schedule id being updated.

Parameters:

targetRoleAssignmentScheduleId - the targetRoleAssignmentScheduleId value to set.

Returns:

the RoleAssignmentScheduleRequestInner object itself.

withTargetRoleAssignmentScheduleInstanceId

public RoleAssignmentScheduleRequestInner withTargetRoleAssignmentScheduleInstanceId(String targetRoleAssignmentScheduleInstanceId)

Set the targetRoleAssignmentScheduleInstanceId property: The role assignment schedule instance id being updated.

Parameters:

targetRoleAssignmentScheduleInstanceId - the targetRoleAssignmentScheduleInstanceId value to set.

Returns:

the RoleAssignmentScheduleRequestInner object itself.

withTicketInfo

public RoleAssignmentScheduleRequestInner withTicketInfo(RoleAssignmentScheduleRequestPropertiesTicketInfo ticketInfo)

Set the ticketInfo property: Ticket Info of the role assignment.

Parameters:

ticketInfo - the ticketInfo value to set.

Returns:

the RoleAssignmentScheduleRequestInner object itself.

Applies to