RoleAssignmentScheduleRequestPropertiesScheduleInfo Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.models.RoleAssignmentScheduleRequestPropertiesScheduleInfo

Implements

public final class RoleAssignmentScheduleRequestPropertiesScheduleInfo
implements JsonSerializable<RoleAssignmentScheduleRequestPropertiesScheduleInfo>

Schedule info of the role assignment schedule.

Constructor Summary

Constructor Description
RoleAssignmentScheduleRequestPropertiesScheduleInfo()

Creates an instance of RoleAssignmentScheduleRequestPropertiesScheduleInfo class.

Method Summary

Modifier and Type Method and Description
RoleAssignmentScheduleRequestPropertiesScheduleInfoExpiration expiration()

Get the expiration property: Expiration of the role assignment schedule.

static RoleAssignmentScheduleRequestPropertiesScheduleInfo fromJson(JsonReader jsonReader)

Reads an instance of RoleAssignmentScheduleRequestPropertiesScheduleInfo from the JsonReader.

OffsetDateTime startDateTime()

Get the startDateTime property: Start DateTime of the role assignment schedule.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

RoleAssignmentScheduleRequestPropertiesScheduleInfo withExpiration(RoleAssignmentScheduleRequestPropertiesScheduleInfoExpiration expiration)

Set the expiration property: Expiration of the role assignment schedule.

RoleAssignmentScheduleRequestPropertiesScheduleInfo withStartDateTime(OffsetDateTime startDateTime)

Set the startDateTime property: Start DateTime of the role assignment schedule.

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:

the expiration value.

fromJson

public static RoleAssignmentScheduleRequestPropertiesScheduleInfo fromJson(JsonReader jsonReader)

Reads an instance of RoleAssignmentScheduleRequestPropertiesScheduleInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RoleAssignmentScheduleRequestPropertiesScheduleInfo if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the RoleAssignmentScheduleRequestPropertiesScheduleInfo.

startDateTime

public OffsetDateTime startDateTime()

Get the startDateTime property: Start DateTime of the role assignment schedule.

Returns:

the startDateTime value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

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.

Applies to