Class MicrosoftGraphOnenoteOperation
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOperation
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOnenoteOperation
-
public final class MicrosoftGraphOnenoteOperation extends MicrosoftGraphOperation
onenoteOperation.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphOnenoteOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: onenoteOperation.MicrosoftGraphOnenoteOperationError
error()
Get the error property: onenoteOperationError.String
percentComplete()
Get the percentComplete property: The operation percent complete if the operation is still in running status.String
resourceId()
Get the resourceId property: The resource id.String
resourceLocation()
Get the resourceLocation property: The resource URI for the object.void
validate()
Validates the instance.MicrosoftGraphOnenoteOperation
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: onenoteOperation.MicrosoftGraphOnenoteOperation
withCreatedDateTime(OffsetDateTime createdDateTime)
Set the createdDateTime property: The start time of the operation.MicrosoftGraphOnenoteOperation
withError(MicrosoftGraphOnenoteOperationError error)
Set the error property: onenoteOperationError.MicrosoftGraphOnenoteOperation
withId(String id)
Set the id property: Read-only.MicrosoftGraphOnenoteOperation
withLastActionDateTime(OffsetDateTime lastActionDateTime)
Set the lastActionDateTime property: The time of the last action of the operation.MicrosoftGraphOnenoteOperation
withPercentComplete(String percentComplete)
Set the percentComplete property: The operation percent complete if the operation is still in running status.MicrosoftGraphOnenoteOperation
withResourceId(String resourceId)
Set the resourceId property: The resource id.MicrosoftGraphOnenoteOperation
withResourceLocation(String resourceLocation)
Set the resourceLocation property: The resource URI for the object.MicrosoftGraphOnenoteOperation
withStatus(MicrosoftGraphOperationStatus status)
Set the status property: The status property.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOperation
createdDateTime, lastActionDateTime, status
-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
error
public MicrosoftGraphOnenoteOperationError error()
Get the error property: onenoteOperationError.- Returns:
- the error value.
-
withError
public MicrosoftGraphOnenoteOperation withError(MicrosoftGraphOnenoteOperationError error)
Set the error property: onenoteOperationError.- Parameters:
error
- the error value to set.- Returns:
- the MicrosoftGraphOnenoteOperation object itself.
-
percentComplete
public String percentComplete()
Get the percentComplete property: The operation percent complete if the operation is still in running status.- Returns:
- the percentComplete value.
-
withPercentComplete
public MicrosoftGraphOnenoteOperation withPercentComplete(String percentComplete)
Set the percentComplete property: The operation percent complete if the operation is still in running status.- Parameters:
percentComplete
- the percentComplete value to set.- Returns:
- the MicrosoftGraphOnenoteOperation object itself.
-
resourceId
public String resourceId()
Get the resourceId property: The resource id.- Returns:
- the resourceId value.
-
withResourceId
public MicrosoftGraphOnenoteOperation withResourceId(String resourceId)
Set the resourceId property: The resource id.- Parameters:
resourceId
- the resourceId value to set.- Returns:
- the MicrosoftGraphOnenoteOperation object itself.
-
resourceLocation
public String resourceLocation()
Get the resourceLocation property: The resource URI for the object. For example, the resource URI for a copied page or section.- Returns:
- the resourceLocation value.
-
withResourceLocation
public MicrosoftGraphOnenoteOperation withResourceLocation(String resourceLocation)
Set the resourceLocation property: The resource URI for the object. For example, the resource URI for a copied page or section.- Parameters:
resourceLocation
- the resourceLocation value to set.- Returns:
- the MicrosoftGraphOnenoteOperation object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: onenoteOperation.- Overrides:
additionalProperties
in classMicrosoftGraphOperation
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphOnenoteOperation withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: onenoteOperation.- Overrides:
withAdditionalProperties
in classMicrosoftGraphOperation
- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphOnenoteOperation object itself.
-
withCreatedDateTime
public MicrosoftGraphOnenoteOperation withCreatedDateTime(OffsetDateTime createdDateTime)
Set the createdDateTime property: The start time of the operation.- Overrides:
withCreatedDateTime
in classMicrosoftGraphOperation
- Parameters:
createdDateTime
- the createdDateTime value to set.- Returns:
- the MicrosoftGraphOperation object itself.
-
withLastActionDateTime
public MicrosoftGraphOnenoteOperation withLastActionDateTime(OffsetDateTime lastActionDateTime)
Set the lastActionDateTime property: The time of the last action of the operation.- Overrides:
withLastActionDateTime
in classMicrosoftGraphOperation
- Parameters:
lastActionDateTime
- the lastActionDateTime value to set.- Returns:
- the MicrosoftGraphOperation object itself.
-
withStatus
public MicrosoftGraphOnenoteOperation withStatus(MicrosoftGraphOperationStatus status)
Set the status property: The status property.- Overrides:
withStatus
in classMicrosoftGraphOperation
- Parameters:
status
- the status value to set.- Returns:
- the MicrosoftGraphOperation object itself.
-
withId
public MicrosoftGraphOnenoteOperation withId(String id)
Set the id property: Read-only.- Overrides:
withId
in classMicrosoftGraphOperation
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphOperation
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-