MicrosoftGraphDomainState Class

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

Implements

public final class MicrosoftGraphDomainState
implements JsonSerializable<MicrosoftGraphDomainState>

domainState.

Constructor Summary

Constructor Description
MicrosoftGraphDomainState()

Creates an instance of MicrosoftGraphDomainState class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: domainState.

static MicrosoftGraphDomainState fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphDomainState from the JsonReader.

OffsetDateTime lastActionDateTime()

Get the lastActionDateTime property: Timestamp for when the last activity occurred.

String operation()

Get the operation property: Type of asynchronous operation.

String status()

Get the status property: Current status of the operation.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphDomainState withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: domainState.

MicrosoftGraphDomainState withLastActionDateTime(OffsetDateTime lastActionDateTime)

Set the lastActionDateTime property: Timestamp for when the last activity occurred.

MicrosoftGraphDomainState withOperation(String operation)

Set the operation property: Type of asynchronous operation.

MicrosoftGraphDomainState withStatus(String status)

Set the status property: Current status of the operation.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphDomainState

public MicrosoftGraphDomainState()

Creates an instance of MicrosoftGraphDomainState class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: domainState.

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphDomainState fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphDomainState from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphDomainState 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 MicrosoftGraphDomainState.

lastActionDateTime

public OffsetDateTime lastActionDateTime()

Get the lastActionDateTime property: Timestamp for when the last activity occurred. The value is updated when an operation is scheduled, the asynchronous task starts, and when the operation completes.

Returns:

the lastActionDateTime value.

operation

public String operation()

Get the operation property: Type of asynchronous operation. The values can be ForceDelete or Verification.

Returns:

the operation value.

status

public String status()

Get the status property: Current status of the operation. Scheduled - Operation has been scheduled but has not started. InProgress - Task has started and is in progress. Failed - Operation has failed.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphDomainState withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: domainState.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphDomainState object itself.

withLastActionDateTime

public MicrosoftGraphDomainState withLastActionDateTime(OffsetDateTime lastActionDateTime)

Set the lastActionDateTime property: Timestamp for when the last activity occurred. The value is updated when an operation is scheduled, the asynchronous task starts, and when the operation completes.

Parameters:

lastActionDateTime - the lastActionDateTime value to set.

Returns:

the MicrosoftGraphDomainState object itself.

withOperation

public MicrosoftGraphDomainState withOperation(String operation)

Set the operation property: Type of asynchronous operation. The values can be ForceDelete or Verification.

Parameters:

operation - the operation value to set.

Returns:

the MicrosoftGraphDomainState object itself.

withStatus

public MicrosoftGraphDomainState withStatus(String status)

Set the status property: Current status of the operation. Scheduled - Operation has been scheduled but has not started. InProgress - Task has started and is in progress. Failed - Operation has failed.

Parameters:

status - the status value to set.

Returns:

the MicrosoftGraphDomainState object itself.

Applies to