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.MicrosoftGraphOnenoteOperationErrorerror()Get the error property: onenoteOperationError.StringpercentComplete()Get the percentComplete property: The operation percent complete if the operation is still in running status.StringresourceId()Get the resourceId property: The resource id.StringresourceLocation()Get the resourceLocation property: The resource URI for the object.voidvalidate()Validates the instance.MicrosoftGraphOnenoteOperationwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: onenoteOperation.MicrosoftGraphOnenoteOperationwithCreatedDateTime(OffsetDateTime createdDateTime)Set the createdDateTime property: The start time of the operation.MicrosoftGraphOnenoteOperationwithError(MicrosoftGraphOnenoteOperationError error)Set the error property: onenoteOperationError.MicrosoftGraphOnenoteOperationwithId(String id)Set the id property: Read-only.MicrosoftGraphOnenoteOperationwithLastActionDateTime(OffsetDateTime lastActionDateTime)Set the lastActionDateTime property: The time of the last action of the operation.MicrosoftGraphOnenoteOperationwithPercentComplete(String percentComplete)Set the percentComplete property: The operation percent complete if the operation is still in running status.MicrosoftGraphOnenoteOperationwithResourceId(String resourceId)Set the resourceId property: The resource id.MicrosoftGraphOnenoteOperationwithResourceLocation(String resourceLocation)Set the resourceLocation property: The resource URI for the object.MicrosoftGraphOnenoteOperationwithStatus(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:
additionalPropertiesin classMicrosoftGraphOperation- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphOnenoteOperation withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: onenoteOperation.- Overrides:
withAdditionalPropertiesin 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:
withCreatedDateTimein 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:
withLastActionDateTimein 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:
withStatusin 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:
withIdin classMicrosoftGraphOperation- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classMicrosoftGraphOperation- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-