RoleEligibilityScheduleInner Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.RoleEligibilityScheduleInner

public final class RoleEligibilityScheduleInner

Role eligibility schedule.

Constructor Summary

Constructor Description
RoleEligibilityScheduleInner()

Creates an instance of RoleEligibilityScheduleInner class.

Method Summary

Modifier and Type Method and Description
String condition()

Get the condition property: The conditions on the role assignment.

String conditionVersion()

Get the conditionVersion property: Version of the condition.

OffsetDateTime createdOn()

Get the createdOn property: DateTime when role eligibility schedule was created.

OffsetDateTime endDateTime()

Get the endDateTime property: End DateTime when role eligibility schedule.

ExpandedProperties expandedProperties()

Get the expandedProperties property: Additional properties of principal, scope and role definition.

String id()

Get the id property: The role eligibility schedule Id.

MemberType memberType()

Get the memberType property: Membership type of the role eligibility schedule.

String name()

Get the name property: The role eligibility schedule name.

String principalId()

Get the principalId property: The principal ID.

PrincipalType principalType()

Get the principalType property: The principal type of the assigned principal ID.

String roleDefinitionId()

Get the roleDefinitionId property: The role definition ID.

String roleEligibilityScheduleRequestId()

Get the roleEligibilityScheduleRequestId property: The id of roleEligibilityScheduleRequest used to create this roleAssignmentSchedule.

String scope()

Get the scope property: The role eligibility schedule scope.

OffsetDateTime startDateTime()

Get the startDateTime property: Start DateTime when role eligibility schedule.

Status status()

Get the status property: The status of the role eligibility schedule.

String type()

Get the type property: The role eligibility schedule type.

OffsetDateTime updatedOn()

Get the updatedOn property: DateTime when role eligibility schedule was modified.

void validate()

Validates the instance.

RoleEligibilityScheduleInner withCondition(String condition)

Set the condition property: The conditions on the role assignment.

RoleEligibilityScheduleInner withConditionVersion(String conditionVersion)

Set the conditionVersion property: Version of the condition.

RoleEligibilityScheduleInner withCreatedOn(OffsetDateTime createdOn)

Set the createdOn property: DateTime when role eligibility schedule was created.

RoleEligibilityScheduleInner withEndDateTime(OffsetDateTime endDateTime)

Set the endDateTime property: End DateTime when role eligibility schedule.

RoleEligibilityScheduleInner withExpandedProperties(ExpandedProperties expandedProperties)

Set the expandedProperties property: Additional properties of principal, scope and role definition.

RoleEligibilityScheduleInner withMemberType(MemberType memberType)

Set the memberType property: Membership type of the role eligibility schedule.

RoleEligibilityScheduleInner withPrincipalId(String principalId)

Set the principalId property: The principal ID.

RoleEligibilityScheduleInner withPrincipalType(PrincipalType principalType)

Set the principalType property: The principal type of the assigned principal ID.

RoleEligibilityScheduleInner withRoleDefinitionId(String roleDefinitionId)

Set the roleDefinitionId property: The role definition ID.

RoleEligibilityScheduleInner withRoleEligibilityScheduleRequestId(String roleEligibilityScheduleRequestId)

Set the roleEligibilityScheduleRequestId property: The id of roleEligibilityScheduleRequest used to create this roleAssignmentSchedule.

RoleEligibilityScheduleInner withScope(String scope)

Set the scope property: The role eligibility schedule scope.

RoleEligibilityScheduleInner withStartDateTime(OffsetDateTime startDateTime)

Set the startDateTime property: Start DateTime when role eligibility schedule.

RoleEligibilityScheduleInner withStatus(Status status)

Set the status property: The status of the role eligibility schedule.

RoleEligibilityScheduleInner withUpdatedOn(OffsetDateTime updatedOn)

Set the updatedOn property: DateTime when role eligibility schedule was modified.

Methods inherited from java.lang.Object

Constructor Details

RoleEligibilityScheduleInner

public RoleEligibilityScheduleInner()

Creates an instance of RoleEligibilityScheduleInner class.

Method Details

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.

conditionVersion

public String conditionVersion()

Get the conditionVersion property: Version of the condition. Currently accepted value is '2.0'.

Returns:

the conditionVersion value.

createdOn

public OffsetDateTime createdOn()

Get the createdOn property: DateTime when role eligibility schedule was created.

Returns:

the createdOn value.

endDateTime

public OffsetDateTime endDateTime()

Get the endDateTime property: End DateTime when role eligibility schedule.

Returns:

the endDateTime value.

expandedProperties

public ExpandedProperties expandedProperties()

Get the expandedProperties property: Additional properties of principal, scope and role definition.

Returns:

the expandedProperties value.

id

public String id()

Get the id property: The role eligibility schedule Id.

Returns:

the id value.

memberType

public MemberType memberType()

Get the memberType property: Membership type of the role eligibility schedule.

Returns:

the memberType value.

name

public String name()

Get the name property: The role eligibility schedule name.

Returns:

the name value.

principalId

public String principalId()

Get the principalId property: The principal ID.

Returns:

the principalId value.

principalType

public PrincipalType principalType()

Get the principalType property: The principal type of the assigned principal ID.

Returns:

the principalType value.

roleDefinitionId

public String roleDefinitionId()

Get the roleDefinitionId property: The role definition ID.

Returns:

the roleDefinitionId value.

roleEligibilityScheduleRequestId

public String roleEligibilityScheduleRequestId()

Get the roleEligibilityScheduleRequestId property: The id of roleEligibilityScheduleRequest used to create this roleAssignmentSchedule.

Returns:

the roleEligibilityScheduleRequestId value.

scope

public String scope()

Get the scope property: The role eligibility schedule scope.

Returns:

the scope value.

startDateTime

public OffsetDateTime startDateTime()

Get the startDateTime property: Start DateTime when role eligibility schedule.

Returns:

the startDateTime value.

status

public Status status()

Get the status property: The status of the role eligibility schedule.

Returns:

the status value.

type

public String type()

Get the type property: The role eligibility schedule type.

Returns:

the type value.

updatedOn

public OffsetDateTime updatedOn()

Get the updatedOn property: DateTime when role eligibility schedule was modified.

Returns:

the updatedOn value.

validate

public void validate()

Validates the instance.

withCondition

public RoleEligibilityScheduleInner 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 RoleEligibilityScheduleInner object itself.

withConditionVersion

public RoleEligibilityScheduleInner 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 RoleEligibilityScheduleInner object itself.

withCreatedOn

public RoleEligibilityScheduleInner withCreatedOn(OffsetDateTime createdOn)

Set the createdOn property: DateTime when role eligibility schedule was created.

Parameters:

createdOn - the createdOn value to set.

Returns:

the RoleEligibilityScheduleInner object itself.

withEndDateTime

public RoleEligibilityScheduleInner withEndDateTime(OffsetDateTime endDateTime)

Set the endDateTime property: End DateTime when role eligibility schedule.

Parameters:

endDateTime - the endDateTime value to set.

Returns:

the RoleEligibilityScheduleInner object itself.

withExpandedProperties

public RoleEligibilityScheduleInner withExpandedProperties(ExpandedProperties expandedProperties)

Set the expandedProperties property: Additional properties of principal, scope and role definition.

Parameters:

expandedProperties - the expandedProperties value to set.

Returns:

the RoleEligibilityScheduleInner object itself.

withMemberType

public RoleEligibilityScheduleInner withMemberType(MemberType memberType)

Set the memberType property: Membership type of the role eligibility schedule.

Parameters:

memberType - the memberType value to set.

Returns:

the RoleEligibilityScheduleInner object itself.

withPrincipalId

public RoleEligibilityScheduleInner withPrincipalId(String principalId)

Set the principalId property: The principal ID.

Parameters:

principalId - the principalId value to set.

Returns:

the RoleEligibilityScheduleInner object itself.

withPrincipalType

public RoleEligibilityScheduleInner withPrincipalType(PrincipalType principalType)

Set the principalType property: The principal type of the assigned principal ID.

Parameters:

principalType - the principalType value to set.

Returns:

the RoleEligibilityScheduleInner object itself.

withRoleDefinitionId

public RoleEligibilityScheduleInner withRoleDefinitionId(String roleDefinitionId)

Set the roleDefinitionId property: The role definition ID.

Parameters:

roleDefinitionId - the roleDefinitionId value to set.

Returns:

the RoleEligibilityScheduleInner object itself.

withRoleEligibilityScheduleRequestId

public RoleEligibilityScheduleInner withRoleEligibilityScheduleRequestId(String roleEligibilityScheduleRequestId)

Set the roleEligibilityScheduleRequestId property: The id of roleEligibilityScheduleRequest used to create this roleAssignmentSchedule.

Parameters:

roleEligibilityScheduleRequestId - the roleEligibilityScheduleRequestId value to set.

Returns:

the RoleEligibilityScheduleInner object itself.

withScope

public RoleEligibilityScheduleInner withScope(String scope)

Set the scope property: The role eligibility schedule scope.

Parameters:

scope - the scope value to set.

Returns:

the RoleEligibilityScheduleInner object itself.

withStartDateTime

public RoleEligibilityScheduleInner withStartDateTime(OffsetDateTime startDateTime)

Set the startDateTime property: Start DateTime when role eligibility schedule.

Parameters:

startDateTime - the startDateTime value to set.

Returns:

the RoleEligibilityScheduleInner object itself.

withStatus

public RoleEligibilityScheduleInner withStatus(Status status)

Set the status property: The status of the role eligibility schedule.

Parameters:

status - the status value to set.

Returns:

the RoleEligibilityScheduleInner object itself.

withUpdatedOn

public RoleEligibilityScheduleInner withUpdatedOn(OffsetDateTime updatedOn)

Set the updatedOn property: DateTime when role eligibility schedule was modified.

Parameters:

updatedOn - the updatedOn value to set.

Returns:

the RoleEligibilityScheduleInner object itself.

Applies to