Class MicrosoftGraphOperation
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOperation
-
- Direct Known Subclasses:
MicrosoftGraphOnenoteOperation
public class MicrosoftGraphOperation extends MicrosoftGraphEntity
operation.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: operation.OffsetDateTime
createdDateTime()
Get the createdDateTime property: The start time of the operation.OffsetDateTime
lastActionDateTime()
Get the lastActionDateTime property: The time of the last action of the operation.MicrosoftGraphOperationStatus
status()
Get the status property: The status property.void
validate()
Validates the instance.MicrosoftGraphOperation
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: operation.MicrosoftGraphOperation
withCreatedDateTime(OffsetDateTime createdDateTime)
Set the createdDateTime property: The start time of the operation.MicrosoftGraphOperation
withId(String id)
Set the id property: Read-only.MicrosoftGraphOperation
withLastActionDateTime(OffsetDateTime lastActionDateTime)
Set the lastActionDateTime property: The time of the last action of the operation.MicrosoftGraphOperation
withStatus(MicrosoftGraphOperationStatus status)
Set the status property: The status property.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
createdDateTime
public OffsetDateTime createdDateTime()
Get the createdDateTime property: The start time of the operation.- Returns:
- the createdDateTime value.
-
withCreatedDateTime
public MicrosoftGraphOperation withCreatedDateTime(OffsetDateTime createdDateTime)
Set the createdDateTime property: The start time of the operation.- Parameters:
createdDateTime
- the createdDateTime value to set.- Returns:
- the MicrosoftGraphOperation object itself.
-
lastActionDateTime
public OffsetDateTime lastActionDateTime()
Get the lastActionDateTime property: The time of the last action of the operation.- Returns:
- the lastActionDateTime value.
-
withLastActionDateTime
public MicrosoftGraphOperation withLastActionDateTime(OffsetDateTime lastActionDateTime)
Set the lastActionDateTime property: The time of the last action of the operation.- Parameters:
lastActionDateTime
- the lastActionDateTime value to set.- Returns:
- the MicrosoftGraphOperation object itself.
-
status
public MicrosoftGraphOperationStatus status()
Get the status property: The status property.- Returns:
- the status value.
-
withStatus
public MicrosoftGraphOperation withStatus(MicrosoftGraphOperationStatus status)
Set the status property: The status property.- Parameters:
status
- the status value to set.- Returns:
- the MicrosoftGraphOperation object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: operation.- Overrides:
additionalProperties
in classMicrosoftGraphEntity
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphOperation withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: operation.- Overrides:
withAdditionalProperties
in classMicrosoftGraphEntity
- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphOperation object itself.
-
withId
public MicrosoftGraphOperation withId(String id)
Set the id property: Read-only.- Overrides:
withId
in classMicrosoftGraphEntity
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphEntity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-