Class RoleEligibilityScheduleRequestProperties
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.RoleEligibilityScheduleRequestProperties
Role eligibility schedule request properties with scope.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of RoleEligibilityScheduleRequestProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the approvalId property: The approvalId of the role eligibility 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 eligibility schedule request was created.Get the expandedProperties property: Additional properties of principal, scope and role definition.Get the justification property: Justification for the role 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 eligibility schedule.scope()Get the scope property: The role eligibility schedule request scope.status()Get the status property: The status of the role eligibility schedule request.Get the targetRoleEligibilityScheduleId property: The resultant role eligibility schedule id or the role eligibility schedule id being updated.Get the targetRoleEligibilityScheduleInstanceId property: The role eligibility schedule instance id being updated.Get the ticketInfo property: Ticket Info of the role eligibility.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 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 eligibility schedule.withTargetRoleEligibilityScheduleId(String targetRoleEligibilityScheduleId) Set the targetRoleEligibilityScheduleId property: The resultant role eligibility schedule id or the role eligibility schedule id being updated.withTargetRoleEligibilityScheduleInstanceId(String targetRoleEligibilityScheduleInstanceId) Set the targetRoleEligibilityScheduleInstanceId property: The role eligibility schedule instance id being updated.Set the ticketInfo property: Ticket Info of the role eligibility.
-
Constructor Details
-
RoleEligibilityScheduleRequestProperties
public RoleEligibilityScheduleRequestProperties()Creates an instance of RoleEligibilityScheduleRequestProperties class.
-
-
Method Details
-
scope
Get the scope property: The role eligibility 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 RoleEligibilityScheduleRequestProperties 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 RoleEligibilityScheduleRequestProperties 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 RoleEligibilityScheduleRequestProperties object itself.
-
status
Get the status property: The status of the role eligibility schedule request.- Returns:
- the status value.
-
approvalId
Get the approvalId property: The approvalId of the role eligibility schedule request.- Returns:
- the approvalId value.
-
scheduleInfo
Get the scheduleInfo property: Schedule info of the role eligibility schedule.- Returns:
- the scheduleInfo value.
-
withScheduleInfo
public RoleEligibilityScheduleRequestProperties withScheduleInfo(RoleEligibilityScheduleRequestPropertiesScheduleInfo scheduleInfo) Set the scheduleInfo property: Schedule info of the role eligibility schedule.- Parameters:
scheduleInfo- the scheduleInfo value to set.- Returns:
- the RoleEligibilityScheduleRequestProperties object itself.
-
targetRoleEligibilityScheduleId
Get the targetRoleEligibilityScheduleId property: The resultant role eligibility schedule id or the role eligibility schedule id being updated.- Returns:
- the targetRoleEligibilityScheduleId value.
-
withTargetRoleEligibilityScheduleId
public RoleEligibilityScheduleRequestProperties withTargetRoleEligibilityScheduleId(String targetRoleEligibilityScheduleId) Set the targetRoleEligibilityScheduleId property: The resultant role eligibility schedule id or the role eligibility schedule id being updated.- Parameters:
targetRoleEligibilityScheduleId- the targetRoleEligibilityScheduleId value to set.- Returns:
- the RoleEligibilityScheduleRequestProperties object itself.
-
targetRoleEligibilityScheduleInstanceId
Get the targetRoleEligibilityScheduleInstanceId property: The role eligibility schedule instance id being updated.- Returns:
- the targetRoleEligibilityScheduleInstanceId value.
-
withTargetRoleEligibilityScheduleInstanceId
public RoleEligibilityScheduleRequestProperties withTargetRoleEligibilityScheduleInstanceId(String targetRoleEligibilityScheduleInstanceId) Set the targetRoleEligibilityScheduleInstanceId property: The role eligibility schedule instance id being updated.- Parameters:
targetRoleEligibilityScheduleInstanceId- the targetRoleEligibilityScheduleInstanceId value to set.- Returns:
- the RoleEligibilityScheduleRequestProperties object itself.
-
justification
Get the justification property: Justification for the role eligibility.- Returns:
- the justification value.
-
withJustification
Set the justification property: Justification for the role eligibility.- Parameters:
justification- the justification value to set.- Returns:
- the RoleEligibilityScheduleRequestProperties object itself.
-
ticketInfo
Get the ticketInfo property: Ticket Info of the role eligibility.- Returns:
- the ticketInfo value.
-
withTicketInfo
public RoleEligibilityScheduleRequestProperties withTicketInfo(RoleEligibilityScheduleRequestPropertiesTicketInfo ticketInfo) Set the ticketInfo property: Ticket Info of the role eligibility.- Parameters:
ticketInfo- the ticketInfo value to set.- Returns:
- the RoleEligibilityScheduleRequestProperties 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 RoleEligibilityScheduleRequestProperties 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 RoleEligibilityScheduleRequestProperties object itself.
-
createdOn
Get the createdOn property: DateTime when role eligibility 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.
-