Class RoleAssignmentScheduleInstanceInner
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.RoleAssignmentScheduleInstanceInner
Information about current or upcoming role assignment schedule instance.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of RoleAssignmentScheduleInstanceInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the assignmentType property: Assignment type of the role assignment schedule.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 was created.Get the endDateTime property: The endDateTime of the role assignment schedule instance.Get the expandedProperties property: Additional properties of principal, scope and role definition.id()Get the id property: The role assignment schedule instance ID.Get the linkedRoleEligibilityScheduleId property: roleEligibilityScheduleId used to activate.Get the linkedRoleEligibilityScheduleInstanceId property: roleEligibilityScheduleInstanceId linked to this roleAssignmentScheduleInstance.Get the memberType property: Membership type of the role assignment schedule.name()Get the name property: The role assignment schedule instance name.Get the originRoleAssignmentId property: Role Assignment Id in external system.Get the principalId property: The principal ID.Get the principalType property: The principal type of the assigned principal ID.Get the roleAssignmentScheduleId property: Id of the master role assignment schedule.Get the roleDefinitionId property: The role definition ID.scope()Get the scope property: The role assignment schedule scope.Get the startDateTime property: The startDateTime of the role assignment schedule instance.status()Get the status property: The status of the role assignment schedule instance.type()Get the type property: The role assignment schedule instance type.voidvalidate()Validates the instance.withAssignmentType(AssignmentType assignmentType) Set the assignmentType property: Assignment type of the role assignment schedule.withCondition(String condition) Set the condition property: The conditions on the role assignment.withConditionVersion(String conditionVersion) Set the conditionVersion property: Version of the condition.withCreatedOn(OffsetDateTime createdOn) Set the createdOn property: DateTime when role assignment schedule was created.withEndDateTime(OffsetDateTime endDateTime) Set the endDateTime property: The endDateTime of the role assignment schedule instance.withExpandedProperties(ExpandedProperties expandedProperties) Set the expandedProperties property: Additional properties of principal, scope and role definition.withLinkedRoleEligibilityScheduleId(String linkedRoleEligibilityScheduleId) Set the linkedRoleEligibilityScheduleId property: roleEligibilityScheduleId used to activate.withLinkedRoleEligibilityScheduleInstanceId(String linkedRoleEligibilityScheduleInstanceId) Set the linkedRoleEligibilityScheduleInstanceId property: roleEligibilityScheduleInstanceId linked to this roleAssignmentScheduleInstance.withMemberType(MemberType memberType) Set the memberType property: Membership type of the role assignment schedule.withOriginRoleAssignmentId(String originRoleAssignmentId) Set the originRoleAssignmentId property: Role Assignment Id in external system.withPrincipalId(String principalId) Set the principalId property: The principal ID.withPrincipalType(PrincipalType principalType) Set the principalType property: The principal type of the assigned principal ID.withRoleAssignmentScheduleId(String roleAssignmentScheduleId) Set the roleAssignmentScheduleId property: Id of the master role assignment schedule.withRoleDefinitionId(String roleDefinitionId) Set the roleDefinitionId property: The role definition ID.Set the scope property: The role assignment schedule scope.withStartDateTime(OffsetDateTime startDateTime) Set the startDateTime property: The startDateTime of the role assignment schedule instance.withStatus(Status status) Set the status property: The status of the role assignment schedule instance.
-
Constructor Details
-
RoleAssignmentScheduleInstanceInner
public RoleAssignmentScheduleInstanceInner()Creates an instance of RoleAssignmentScheduleInstanceInner class.
-
-
Method Details
-
id
Get the id property: The role assignment schedule instance ID.- Returns:
- the id value.
-
name
Get the name property: The role assignment schedule instance name.- Returns:
- the name value.
-
type
Get the type property: The role assignment schedule instance type.- Returns:
- the type value.
-
scope
Get the scope property: The role assignment schedule scope.- Returns:
- the scope value.
-
withScope
Set the scope property: The role assignment schedule scope.- Parameters:
scope- the scope value to set.- Returns:
- the RoleAssignmentScheduleInstanceInner object itself.
-
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 RoleAssignmentScheduleInstanceInner 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 RoleAssignmentScheduleInstanceInner object itself.
-
principalType
Get the principalType property: The principal type of the assigned principal ID.- Returns:
- the principalType value.
-
withPrincipalType
Set the principalType property: The principal type of the assigned principal ID.- Parameters:
principalType- the principalType value to set.- Returns:
- the RoleAssignmentScheduleInstanceInner object itself.
-
roleAssignmentScheduleId
Get the roleAssignmentScheduleId property: Id of the master role assignment schedule.- Returns:
- the roleAssignmentScheduleId value.
-
withRoleAssignmentScheduleId
public RoleAssignmentScheduleInstanceInner withRoleAssignmentScheduleId(String roleAssignmentScheduleId) Set the roleAssignmentScheduleId property: Id of the master role assignment schedule.- Parameters:
roleAssignmentScheduleId- the roleAssignmentScheduleId value to set.- Returns:
- the RoleAssignmentScheduleInstanceInner object itself.
-
originRoleAssignmentId
Get the originRoleAssignmentId property: Role Assignment Id in external system.- Returns:
- the originRoleAssignmentId value.
-
withOriginRoleAssignmentId
public RoleAssignmentScheduleInstanceInner withOriginRoleAssignmentId(String originRoleAssignmentId) Set the originRoleAssignmentId property: Role Assignment Id in external system.- Parameters:
originRoleAssignmentId- the originRoleAssignmentId value to set.- Returns:
- the RoleAssignmentScheduleInstanceInner object itself.
-
status
Get the status property: The status of the role assignment schedule instance.- Returns:
- the status value.
-
withStatus
Set the status property: The status of the role assignment schedule instance.- Parameters:
status- the status value to set.- Returns:
- the RoleAssignmentScheduleInstanceInner object itself.
-
startDateTime
Get the startDateTime property: The startDateTime of the role assignment schedule instance.- Returns:
- the startDateTime value.
-
withStartDateTime
Set the startDateTime property: The startDateTime of the role assignment schedule instance.- Parameters:
startDateTime- the startDateTime value to set.- Returns:
- the RoleAssignmentScheduleInstanceInner object itself.
-
endDateTime
Get the endDateTime property: The endDateTime of the role assignment schedule instance.- Returns:
- the endDateTime value.
-
withEndDateTime
Set the endDateTime property: The endDateTime of the role assignment schedule instance.- Parameters:
endDateTime- the endDateTime value to set.- Returns:
- the RoleAssignmentScheduleInstanceInner object itself.
-
linkedRoleEligibilityScheduleId
Get the linkedRoleEligibilityScheduleId property: roleEligibilityScheduleId used to activate.- Returns:
- the linkedRoleEligibilityScheduleId value.
-
withLinkedRoleEligibilityScheduleId
public RoleAssignmentScheduleInstanceInner withLinkedRoleEligibilityScheduleId(String linkedRoleEligibilityScheduleId) Set the linkedRoleEligibilityScheduleId property: roleEligibilityScheduleId used to activate.- Parameters:
linkedRoleEligibilityScheduleId- the linkedRoleEligibilityScheduleId value to set.- Returns:
- the RoleAssignmentScheduleInstanceInner object itself.
-
linkedRoleEligibilityScheduleInstanceId
Get the linkedRoleEligibilityScheduleInstanceId property: roleEligibilityScheduleInstanceId linked to this roleAssignmentScheduleInstance.- Returns:
- the linkedRoleEligibilityScheduleInstanceId value.
-
withLinkedRoleEligibilityScheduleInstanceId
public RoleAssignmentScheduleInstanceInner withLinkedRoleEligibilityScheduleInstanceId(String linkedRoleEligibilityScheduleInstanceId) Set the linkedRoleEligibilityScheduleInstanceId property: roleEligibilityScheduleInstanceId linked to this roleAssignmentScheduleInstance.- Parameters:
linkedRoleEligibilityScheduleInstanceId- the linkedRoleEligibilityScheduleInstanceId value to set.- Returns:
- the RoleAssignmentScheduleInstanceInner object itself.
-
assignmentType
Get the assignmentType property: Assignment type of the role assignment schedule.- Returns:
- the assignmentType value.
-
withAssignmentType
Set the assignmentType property: Assignment type of the role assignment schedule.- Parameters:
assignmentType- the assignmentType value to set.- Returns:
- the RoleAssignmentScheduleInstanceInner object itself.
-
memberType
Get the memberType property: Membership type of the role assignment schedule.- Returns:
- the memberType value.
-
withMemberType
Set the memberType property: Membership type of the role assignment schedule.- Parameters:
memberType- the memberType value to set.- Returns:
- the RoleAssignmentScheduleInstanceInner 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 RoleAssignmentScheduleInstanceInner 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 RoleAssignmentScheduleInstanceInner object itself.
-
createdOn
Get the createdOn property: DateTime when role assignment schedule was created.- Returns:
- the createdOn value.
-
withCreatedOn
Set the createdOn property: DateTime when role assignment schedule was created.- Parameters:
createdOn- the createdOn value to set.- Returns:
- the RoleAssignmentScheduleInstanceInner object itself.
-
expandedProperties
Get the expandedProperties property: Additional properties of principal, scope and role definition.- Returns:
- the expandedProperties value.
-
withExpandedProperties
public RoleAssignmentScheduleInstanceInner withExpandedProperties(ExpandedProperties expandedProperties) Set the expandedProperties property: Additional properties of principal, scope and role definition.- Parameters:
expandedProperties- the expandedProperties value to set.- Returns:
- the RoleAssignmentScheduleInstanceInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-