Class MicrosoftGraphDomainState
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDomainState
domainState.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphDomainState class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: domainState.Get the lastActionDateTime property: Timestamp for when the last activity occurred.Get the operation property: Type of asynchronous operation.status()Get the status property: Current status of the operation.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: domainState.withLastActionDateTime(OffsetDateTime lastActionDateTime) Set the lastActionDateTime property: Timestamp for when the last activity occurred.withOperation(String operation) Set the operation property: Type of asynchronous operation.withStatus(String status) Set the status property: Current status of the operation.
-
Constructor Details
-
MicrosoftGraphDomainState
public MicrosoftGraphDomainState()Creates an instance of MicrosoftGraphDomainState class.
-
-
Method Details
-
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.
-
withLastActionDateTime
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.
-
operation
Get the operation property: Type of asynchronous operation. The values can be ForceDelete or Verification.- Returns:
- the operation value.
-
withOperation
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.
-
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.
-
withStatus
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.
-
additionalProperties
Get the additionalProperties property: domainState.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: domainState.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphDomainState object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-