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