Class MicrosoftGraphDomainState
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDomainState
-
public final class MicrosoftGraphDomainState extends Object
domainState.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphDomainState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: domainState.OffsetDateTimelastActionDateTime()Get the lastActionDateTime property: Timestamp for when the last activity occurred.Stringoperation()Get the operation property: Type of asynchronous operation.Stringstatus()Get the status property: Current status of the operation.voidvalidate()Validates the instance.MicrosoftGraphDomainStatewithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: domainState.MicrosoftGraphDomainStatewithLastActionDateTime(OffsetDateTime lastActionDateTime)Set the lastActionDateTime property: Timestamp for when the last activity occurred.MicrosoftGraphDomainStatewithOperation(String operation)Set the operation property: Type of asynchronous operation.MicrosoftGraphDomainStatewithStatus(String status)Set the status property: Current status of the operation.
-
-
-
Method Detail
-
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.
-
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.
-
operation
public String operation()
Get the operation property: Type of asynchronous operation. The values can be ForceDelete or Verification.- Returns:
- the operation value.
-
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.
-
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.
-
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.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: domainState.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphDomainState withAdditionalProperties(Map<String,Object> additionalProperties)
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.
-
-