RoleAssignmentScheduleRequestInner Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. RoleAssignmentScheduleRequestInner
- com.
Implements
public final class RoleAssignmentScheduleRequestInner
implements JsonSerializable<RoleAssignmentScheduleRequestInner>
Role Assignment schedule request.
Constructor Summary
Constructor | Description |
---|---|
RoleAssignmentScheduleRequestInner() |
Creates an instance of Role |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
approvalId()
Get the approval |
String |
condition()
Get the condition property: The conditions on the role assignment. |
String |
conditionVersion()
Get the condition |
Offset |
createdOn()
Get the created |
Expanded |
expandedProperties()
Get the expanded |
static
Role |
fromJson(JsonReader jsonReader)
Reads an instance of Role |
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 linked |
String |
name()
Get the name property: The role assignment schedule request name. |
String |
principalId()
Get the principal |
Principal |
principalType()
Get the principal |
Request |
requestType()
Get the request |
String |
requestorId()
Get the requestor |
String |
roleDefinitionId()
Get the role |
Role |
scheduleInfo()
Get the 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 target |
String |
targetRoleAssignmentScheduleInstanceId()
Get the target |
Role |
ticketInfo()
Get the ticket |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The role assignment schedule request type. |
void |
validate()
Validates the instance. |
Role |
withCondition(String condition)
Set the condition property: The conditions on the role assignment. |
Role |
withConditionVersion(String conditionVersion)
Set the condition |
Role |
withJustification(String justification)
Set the justification property: Justification for the role assignment. |
Role |
withLinkedRoleEligibilityScheduleId(String linkedRoleEligibilityScheduleId)
Set the linked |
Role |
withPrincipalId(String principalId)
Set the principal |
Role |
withRequestType(RequestType requestType)
Set the request |
Role |
withRoleDefinitionId(String roleDefinitionId)
Set the role |
Role |
withScheduleInfo(RoleAssignmentScheduleRequestPropertiesScheduleInfo scheduleInfo)
Set the schedule |
Role |
withTargetRoleAssignmentScheduleId(String targetRoleAssignmentScheduleId)
Set the target |
Role |
withTargetRoleAssignmentScheduleInstanceId(String targetRoleAssignmentScheduleInstanceId)
Set the target |
Role |
withTicketInfo(RoleAssignmentScheduleRequestPropertiesTicketInfo ticketInfo)
Set the ticket |
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:
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:
conditionVersion
public String conditionVersion()
Get the conditionVersion property: Version of the condition. Currently accepted value is '2.0'.
Returns:
createdOn
public OffsetDateTime createdOn()
Get the createdOn property: DateTime when role assignment schedule request was created.
Returns:
expandedProperties
public ExpandedProperties expandedProperties()
Get the expandedProperties property: Additional properties of principal, scope and role definition.
Returns:
fromJson
public static RoleAssignmentScheduleRequestInner fromJson(JsonReader jsonReader)
Reads an instance of RoleAssignmentScheduleRequestInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The role assignment schedule request ID.
Returns:
justification
public String justification()
Get the justification property: Justification for the role assignment.
Returns:
linkedRoleEligibilityScheduleId
public String linkedRoleEligibilityScheduleId()
Get the linkedRoleEligibilityScheduleId property: The linked role eligibility schedule id - to activate an eligibility.
Returns:
name
public String name()
Get the name property: The role assignment schedule request name.
Returns:
principalId
public String principalId()
Get the principalId property: The principal ID.
Returns:
principalType
public PrincipalType principalType()
Get the principalType property: The principal type of the assigned principal ID.
Returns:
requestType
public RequestType requestType()
Get the requestType property: The type of the role assignment schedule request. Eg: SelfActivate, AdminAssign etc.
Returns:
requestorId
public String requestorId()
Get the requestorId property: Id of the user who created this request.
Returns:
roleDefinitionId
public String roleDefinitionId()
Get the roleDefinitionId property: The role definition ID.
Returns:
scheduleInfo
public RoleAssignmentScheduleRequestPropertiesScheduleInfo scheduleInfo()
Get the scheduleInfo property: Schedule info of the role assignment schedule.
Returns:
scope
public String scope()
Get the scope property: The role assignment schedule request scope.
Returns:
status
public Status status()
Get the status property: The status of the role assignment schedule request.
Returns:
targetRoleAssignmentScheduleId
public String targetRoleAssignmentScheduleId()
Get the targetRoleAssignmentScheduleId property: The resultant role assignment schedule id or the role assignment schedule id being updated.
Returns:
targetRoleAssignmentScheduleInstanceId
public String targetRoleAssignmentScheduleInstanceId()
Get the targetRoleAssignmentScheduleInstanceId property: The role assignment schedule instance id being updated.
Returns:
ticketInfo
public RoleAssignmentScheduleRequestPropertiesTicketInfo ticketInfo()
Get the ticketInfo property: Ticket Info of the role assignment.
Returns:
toJson
type
public String type()
Get the type property: The role assignment schedule request type.
Returns:
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:
Returns:
withConditionVersion
public RoleAssignmentScheduleRequestInner withConditionVersion(String conditionVersion)
Set the conditionVersion property: Version of the condition. Currently accepted value is '2.0'.
Parameters:
Returns:
withJustification
public RoleAssignmentScheduleRequestInner withJustification(String justification)
Set the justification property: Justification for the role assignment.
Parameters:
Returns:
withLinkedRoleEligibilityScheduleId
public RoleAssignmentScheduleRequestInner withLinkedRoleEligibilityScheduleId(String linkedRoleEligibilityScheduleId)
Set the linkedRoleEligibilityScheduleId property: The linked role eligibility schedule id - to activate an eligibility.
Parameters:
Returns:
withPrincipalId
public RoleAssignmentScheduleRequestInner withPrincipalId(String principalId)
Set the principalId property: The principal ID.
Parameters:
Returns:
withRequestType
public RoleAssignmentScheduleRequestInner withRequestType(RequestType requestType)
Set the requestType property: The type of the role assignment schedule request. Eg: SelfActivate, AdminAssign etc.
Parameters:
Returns:
withRoleDefinitionId
public RoleAssignmentScheduleRequestInner withRoleDefinitionId(String roleDefinitionId)
Set the roleDefinitionId property: The role definition ID.
Parameters:
Returns:
withScheduleInfo
public RoleAssignmentScheduleRequestInner withScheduleInfo(RoleAssignmentScheduleRequestPropertiesScheduleInfo scheduleInfo)
Set the scheduleInfo property: Schedule info of the role assignment schedule.
Parameters:
Returns:
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:
Returns:
withTargetRoleAssignmentScheduleInstanceId
public RoleAssignmentScheduleRequestInner withTargetRoleAssignmentScheduleInstanceId(String targetRoleAssignmentScheduleInstanceId)
Set the targetRoleAssignmentScheduleInstanceId property: The role assignment schedule instance id being updated.
Parameters:
Returns:
withTicketInfo
public RoleAssignmentScheduleRequestInner withTicketInfo(RoleAssignmentScheduleRequestPropertiesTicketInfo ticketInfo)
Set the ticketInfo property: Ticket Info of the role assignment.
Parameters:
Returns:
Applies to
Azure SDK for Java