MicrosoftGraphDomainState Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphDomainState
- com.
Implements
public final class MicrosoftGraphDomainState
implements JsonSerializable<MicrosoftGraphDomainState>
domainState.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphDomainState() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Offset |
lastActionDateTime()
Get the last |
String |
operation()
Get the operation property: Type of asynchronous operation. |
String |
status()
Get the status property: Current status of the operation. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withLastActionDateTime(OffsetDateTime lastActionDateTime)
Set the last |
Microsoft |
withOperation(String operation)
Set the operation property: Type of asynchronous operation. |
Microsoft |
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
Get the additionalProperties property: domainState.
Returns:
fromJson
public static MicrosoftGraphDomainState fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphDomainState from the JsonReader.
Parameters:
Returns:
Throws:
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:
operation
public String operation()
Get the operation property: Type of asynchronous operation. The values can be ForceDelete or Verification.
Returns:
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:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphDomainState withAdditionalProperties(Map
Set the additionalProperties property: domainState.
Parameters:
Returns:
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:
Returns:
withOperation
public MicrosoftGraphDomainState withOperation(String operation)
Set the operation property: Type of asynchronous operation. The values can be ForceDelete or Verification.
Parameters:
Returns:
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:
Returns:
Applies to
Azure SDK for Java