RoleAssignmentScheduleRequestPropertiesScheduleInfo Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. models. RoleAssignmentScheduleRequestPropertiesScheduleInfo
- com.
Implements
public final class RoleAssignmentScheduleRequestPropertiesScheduleInfo
implements JsonSerializable<RoleAssignmentScheduleRequestPropertiesScheduleInfo>
Schedule info of the role assignment schedule.
Constructor Summary
| Constructor | Description |
|---|---|
| RoleAssignmentScheduleRequestPropertiesScheduleInfo() |
Creates an instance of Role |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Role |
expiration()
Get the expiration property: Expiration of the role assignment schedule. |
|
static
Role |
fromJson(JsonReader jsonReader)
Reads an instance of Role |
|
Offset |
startDateTime()
Get the start |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Role |
withExpiration(RoleAssignmentScheduleRequestPropertiesScheduleInfoExpiration expiration)
Set the expiration property: Expiration of the role assignment schedule. |
|
Role |
withStartDateTime(OffsetDateTime startDateTime)
Set the start |
Methods inherited from java.lang.Object
Constructor Details
RoleAssignmentScheduleRequestPropertiesScheduleInfo
public RoleAssignmentScheduleRequestPropertiesScheduleInfo()
Creates an instance of RoleAssignmentScheduleRequestPropertiesScheduleInfo class.
Method Details
expiration
public RoleAssignmentScheduleRequestPropertiesScheduleInfoExpiration expiration()
Get the expiration property: Expiration of the role assignment schedule.
Returns:
fromJson
public static RoleAssignmentScheduleRequestPropertiesScheduleInfo fromJson(JsonReader jsonReader)
Reads an instance of RoleAssignmentScheduleRequestPropertiesScheduleInfo from the JsonReader.
Parameters:
Returns:
Throws:
startDateTime
public OffsetDateTime startDateTime()
Get the startDateTime property: Start DateTime of the role assignment schedule.
Returns:
toJson
validate
public void validate()
Validates the instance.
withExpiration
public RoleAssignmentScheduleRequestPropertiesScheduleInfo withExpiration(RoleAssignmentScheduleRequestPropertiesScheduleInfoExpiration expiration)
Set the expiration property: Expiration of the role assignment schedule.
Parameters:
Returns:
withStartDateTime
public RoleAssignmentScheduleRequestPropertiesScheduleInfo withStartDateTime(OffsetDateTime startDateTime)
Set the startDateTime property: Start DateTime of the role assignment schedule.
Parameters:
Returns: