Class RoleEligibilityScheduleRequestPropertiesScheduleInfo
java.lang.Object
com.azure.resourcemanager.authorization.models.RoleEligibilityScheduleRequestPropertiesScheduleInfo
Schedule info of the role eligibility schedule.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of RoleEligibilityScheduleRequestPropertiesScheduleInfo class. -
Method Summary
Modifier and TypeMethodDescriptionGet the expiration property: Expiration of the role eligibility schedule.Get the startDateTime property: Start DateTime of the role eligibility schedule.voidvalidate()Validates the instance.Set the expiration property: Expiration of the role eligibility schedule.withStartDateTime(OffsetDateTime startDateTime) Set the startDateTime property: Start DateTime of the role eligibility schedule.
-
Constructor Details
-
RoleEligibilityScheduleRequestPropertiesScheduleInfo
public RoleEligibilityScheduleRequestPropertiesScheduleInfo()Creates an instance of RoleEligibilityScheduleRequestPropertiesScheduleInfo class.
-
-
Method Details
-
startDateTime
Get the startDateTime property: Start DateTime of the role eligibility schedule.- Returns:
- the startDateTime value.
-
withStartDateTime
public RoleEligibilityScheduleRequestPropertiesScheduleInfo withStartDateTime(OffsetDateTime startDateTime) Set the startDateTime property: Start DateTime of the role eligibility schedule.- Parameters:
startDateTime- the startDateTime value to set.- Returns:
- the RoleEligibilityScheduleRequestPropertiesScheduleInfo object itself.
-
expiration
Get the expiration property: Expiration of the role eligibility schedule.- Returns:
- the expiration value.
-
withExpiration
public RoleEligibilityScheduleRequestPropertiesScheduleInfo withExpiration(RoleEligibilityScheduleRequestPropertiesScheduleInfoExpiration expiration) Set the expiration property: Expiration of the role eligibility schedule.- Parameters:
expiration- the expiration value to set.- Returns:
- the RoleEligibilityScheduleRequestPropertiesScheduleInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-