Class RoleAssignmentScheduleRequestInner

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

public final class RoleAssignmentScheduleRequestInner extends Object
Role Assignment schedule request.
  • Constructor Details

    • RoleAssignmentScheduleRequestInner

      public RoleAssignmentScheduleRequestInner()
      Creates an instance of RoleAssignmentScheduleRequestInner class.
  • Method Details

    • id

      public String id()
      Get the id property: The role assignment schedule request ID.
      Returns:
      the id value.
    • name

      public String name()
      Get the name property: The role assignment schedule request name.
      Returns:
      the name value.
    • type

      public String type()
      Get the type property: The role assignment schedule request type.
      Returns:
      the type value.
    • scope

      public String scope()
      Get the scope property: The role assignment schedule request scope.
      Returns:
      the scope value.
    • roleDefinitionId

      public String roleDefinitionId()
      Get the roleDefinitionId property: The role definition ID.
      Returns:
      the roleDefinitionId value.
    • 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.
    • principalId

      public String principalId()
      Get the principalId property: The principal ID.
      Returns:
      the principalId value.
    • 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.
    • 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.
    • 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.
    • status

      public Status status()
      Get the status property: The status of the role assignment schedule request.
      Returns:
      the status value.
    • approvalId

      public String approvalId()
      Get the approvalId property: The approvalId of the role assignment schedule request.
      Returns:
      the approvalId 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.
    • 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.
    • targetRoleAssignmentScheduleInstanceId

      public String targetRoleAssignmentScheduleInstanceId()
      Get the targetRoleAssignmentScheduleInstanceId property: The role assignment schedule instance id being updated.
      Returns:
      the targetRoleAssignmentScheduleInstanceId value.
    • 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.
    • scheduleInfo

      Get the scheduleInfo property: Schedule info of the role assignment schedule.
      Returns:
      the scheduleInfo value.
    • withScheduleInfo

      Set the scheduleInfo property: Schedule info of the role assignment schedule.
      Parameters:
      scheduleInfo - the scheduleInfo value to set.
      Returns:
      the RoleAssignmentScheduleRequestInner object itself.
    • linkedRoleEligibilityScheduleId

      public String linkedRoleEligibilityScheduleId()
      Get the linkedRoleEligibilityScheduleId property: The linked role eligibility schedule id - to activate an eligibility.
      Returns:
      the linkedRoleEligibilityScheduleId value.
    • 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.
    • justification

      public String justification()
      Get the justification property: Justification for the role assignment.
      Returns:
      the justification value.
    • 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.
    • ticketInfo

      Get the ticketInfo property: Ticket Info of the role assignment.
      Returns:
      the ticketInfo value.
    • withTicketInfo

      Set the ticketInfo property: Ticket Info of the role assignment.
      Parameters:
      ticketInfo - the ticketInfo value to set.
      Returns:
      the RoleAssignmentScheduleRequestInner object itself.
    • 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.
    • 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.
    • conditionVersion

      public String conditionVersion()
      Get the conditionVersion property: Version of the condition. Currently accepted value is '2.0'.
      Returns:
      the conditionVersion value.
    • 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.
    • createdOn

      public OffsetDateTime createdOn()
      Get the createdOn property: DateTime when role assignment schedule request was created.
      Returns:
      the createdOn value.
    • requestorId

      public String requestorId()
      Get the requestorId property: Id of the user who created this request.
      Returns:
      the requestorId value.
    • expandedProperties

      public ExpandedProperties 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.