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.OffsetDateTimecreatedDateTime()Get the createdDateTime property: The start time of the operation.OffsetDateTimelastActionDateTime()Get the lastActionDateTime property: The time of the last action of the operation.MicrosoftGraphOperationStatusstatus()Get the status property: The status property.voidvalidate()Validates the instance.MicrosoftGraphOperationwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: operation.MicrosoftGraphOperationwithCreatedDateTime(OffsetDateTime createdDateTime)Set the createdDateTime property: The start time of the operation.MicrosoftGraphOperationwithId(String id)Set the id property: Read-only.MicrosoftGraphOperationwithLastActionDateTime(OffsetDateTime lastActionDateTime)Set the lastActionDateTime property: The time of the last action of the operation.MicrosoftGraphOperationwithStatus(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:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphOperation withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: operation.- Overrides:
withAdditionalPropertiesin 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:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-