MicrosoftGraphDomainState Class

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

public final class 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.

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.

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.

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.

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