Class RoleAssignmentScheduleRequestProperties
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.RoleAssignmentScheduleRequestProperties
Role assignment schedule request properties with scope.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of RoleAssignmentScheduleRequestProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the approvalId property: The approvalId of the role assignment schedule request.Get the condition property: The conditions on the role assignment.Get the conditionVersion property: Version of the condition.Get the createdOn property: DateTime when role assignment schedule request was created.Get the expandedProperties property: Additional properties of principal, scope and role definition.Get the justification property: Justification for the role assignment.Get the linkedRoleEligibilityScheduleId property: The linked role eligibility schedule id - to activate an eligibility.Get the principalId property: The principal ID.Get the principalType property: The principal type of the assigned principal ID.Get the requestorId property: Id of the user who created this request.Get the requestType property: The type of the role assignment schedule request.Get the roleDefinitionId property: The role definition ID.Get the scheduleInfo property: Schedule info of the role assignment schedule.scope()Get the scope property: The role assignment schedule request scope.status()Get the status property: The status of the role assignment schedule request.Get the targetRoleAssignmentScheduleId property: The resultant role assignment schedule id or the role assignment schedule id being updated.Get the targetRoleAssignmentScheduleInstanceId property: The role assignment schedule instance id being updated.Get the ticketInfo property: Ticket Info of the role assignment.voidvalidate()Validates the instance.withCondition(String condition) Set the condition property: The conditions on the role assignment.withConditionVersion(String conditionVersion) Set the conditionVersion property: Version of the condition.withJustification(String justification) Set the justification property: Justification for the role assignment.withLinkedRoleEligibilityScheduleId(String linkedRoleEligibilityScheduleId) Set the linkedRoleEligibilityScheduleId property: The linked role eligibility schedule id - to activate an eligibility.withPrincipalId(String principalId) Set the principalId property: The principal ID.withRequestType(RequestType requestType) Set the requestType property: The type of the role assignment schedule request.withRoleDefinitionId(String roleDefinitionId) Set the roleDefinitionId property: The role definition ID.Set the scheduleInfo property: Schedule info of the role assignment schedule.withTargetRoleAssignmentScheduleId(String targetRoleAssignmentScheduleId) Set the targetRoleAssignmentScheduleId property: The resultant role assignment schedule id or the role assignment schedule id being updated.withTargetRoleAssignmentScheduleInstanceId(String targetRoleAssignmentScheduleInstanceId) Set the targetRoleAssignmentScheduleInstanceId property: The role assignment schedule instance id being updated.Set the ticketInfo property: Ticket Info of the role assignment.
-
Constructor Details
-
RoleAssignmentScheduleRequestProperties
public RoleAssignmentScheduleRequestProperties()Creates an instance of RoleAssignmentScheduleRequestProperties class.
-
-
Method Details
-
scope
Get the scope property: The role assignment schedule request scope.- Returns:
- the scope value.
-
roleDefinitionId
Get the roleDefinitionId property: The role definition ID.- Returns:
- the roleDefinitionId value.
-
withRoleDefinitionId
Set the roleDefinitionId property: The role definition ID.- Parameters:
roleDefinitionId- the roleDefinitionId value to set.- Returns:
- the RoleAssignmentScheduleRequestProperties object itself.
-
principalId
Get the principalId property: The principal ID.- Returns:
- the principalId value.
-
withPrincipalId
Set the principalId property: The principal ID.- Parameters:
principalId- the principalId value to set.- Returns:
- the RoleAssignmentScheduleRequestProperties object itself.
-
principalType
Get the principalType property: The principal type of the assigned principal ID.- Returns:
- the principalType value.
-
requestType
Get the requestType property: The type of the role assignment schedule request. Eg: SelfActivate, AdminAssign etc.- Returns:
- the requestType value.
-
withRequestType
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 RoleAssignmentScheduleRequestProperties object itself.
-
status
Get the status property: The status of the role assignment schedule request.- Returns:
- the status value.
-
approvalId
Get the approvalId property: The approvalId of the role assignment schedule request.- Returns:
- the approvalId value.
-
targetRoleAssignmentScheduleId
Get the targetRoleAssignmentScheduleId property: The resultant role assignment schedule id or the role assignment schedule id being updated.- Returns:
- the targetRoleAssignmentScheduleId value.
-
withTargetRoleAssignmentScheduleId
public RoleAssignmentScheduleRequestProperties 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 RoleAssignmentScheduleRequestProperties object itself.
-
targetRoleAssignmentScheduleInstanceId
Get the targetRoleAssignmentScheduleInstanceId property: The role assignment schedule instance id being updated.- Returns:
- the targetRoleAssignmentScheduleInstanceId value.
-
withTargetRoleAssignmentScheduleInstanceId
public RoleAssignmentScheduleRequestProperties withTargetRoleAssignmentScheduleInstanceId(String targetRoleAssignmentScheduleInstanceId) Set the targetRoleAssignmentScheduleInstanceId property: The role assignment schedule instance id being updated.- Parameters:
targetRoleAssignmentScheduleInstanceId- the targetRoleAssignmentScheduleInstanceId value to set.- Returns:
- the RoleAssignmentScheduleRequestProperties object itself.
-
scheduleInfo
Get the scheduleInfo property: Schedule info of the role assignment schedule.- Returns:
- the scheduleInfo value.
-
withScheduleInfo
public RoleAssignmentScheduleRequestProperties withScheduleInfo(RoleAssignmentScheduleRequestPropertiesScheduleInfo scheduleInfo) Set the scheduleInfo property: Schedule info of the role assignment schedule.- Parameters:
scheduleInfo- the scheduleInfo value to set.- Returns:
- the RoleAssignmentScheduleRequestProperties object itself.
-
linkedRoleEligibilityScheduleId
Get the linkedRoleEligibilityScheduleId property: The linked role eligibility schedule id - to activate an eligibility.- Returns:
- the linkedRoleEligibilityScheduleId value.
-
withLinkedRoleEligibilityScheduleId
public RoleAssignmentScheduleRequestProperties 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 RoleAssignmentScheduleRequestProperties object itself.
-
justification
Get the justification property: Justification for the role assignment.- Returns:
- the justification value.
-
withJustification
Set the justification property: Justification for the role assignment.- Parameters:
justification- the justification value to set.- Returns:
- the RoleAssignmentScheduleRequestProperties object itself.
-
ticketInfo
Get the ticketInfo property: Ticket Info of the role assignment.- Returns:
- the ticketInfo value.
-
withTicketInfo
public RoleAssignmentScheduleRequestProperties withTicketInfo(RoleAssignmentScheduleRequestPropertiesTicketInfo ticketInfo) Set the ticketInfo property: Ticket Info of the role assignment.- Parameters:
ticketInfo- the ticketInfo value to set.- Returns:
- the RoleAssignmentScheduleRequestProperties object itself.
-
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.
-
withCondition
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 RoleAssignmentScheduleRequestProperties object itself.
-
conditionVersion
Get the conditionVersion property: Version of the condition. Currently accepted value is '2.0'.- Returns:
- the conditionVersion value.
-
withConditionVersion
Set the conditionVersion property: Version of the condition. Currently accepted value is '2.0'.- Parameters:
conditionVersion- the conditionVersion value to set.- Returns:
- the RoleAssignmentScheduleRequestProperties object itself.
-
createdOn
Get the createdOn property: DateTime when role assignment schedule request was created.- Returns:
- the createdOn value.
-
requestorId
Get the requestorId property: Id of the user who created this request.- Returns:
- the requestorId value.
-
expandedProperties
Get the expandedProperties property: Additional properties of principal, scope and role definition.- Returns:
- the expandedProperties value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-