Class AscOperationInner
- java.lang.Object
-
- com.azure.resourcemanager.storagecache.fluent.models.AscOperationInner
-
public final class AscOperationInner extends Object
The status of operation.
-
-
Constructor Summary
Constructors Constructor Description AscOperationInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
endTime()
Get the endTime property: The end time of the operation.ErrorResponse
error()
Get the error property: The error detail of the operation if any.String
id()
Get the id property: The operation Id.String
name()
Get the name property: The operation name.Map<String,Object>
output()
Get the output property: Additional operation-specific output.String
startTime()
Get the startTime property: The start time of the operation.String
status()
Get the status property: The status of the operation.void
validate()
Validates the instance.AscOperationInner
withEndTime(String endTime)
Set the endTime property: The end time of the operation.AscOperationInner
withError(ErrorResponse error)
Set the error property: The error detail of the operation if any.AscOperationInner
withId(String id)
Set the id property: The operation Id.AscOperationInner
withName(String name)
Set the name property: The operation name.AscOperationInner
withOutput(Map<String,Object> output)
Set the output property: Additional operation-specific output.AscOperationInner
withStartTime(String startTime)
Set the startTime property: The start time of the operation.AscOperationInner
withStatus(String status)
Set the status property: The status of the operation.
-
-
-
Method Detail
-
id
public String id()
Get the id property: The operation Id.- Returns:
- the id value.
-
withId
public AscOperationInner withId(String id)
Set the id property: The operation Id.- Parameters:
id
- the id value to set.- Returns:
- the AscOperationInner object itself.
-
name
public String name()
Get the name property: The operation name.- Returns:
- the name value.
-
withName
public AscOperationInner withName(String name)
Set the name property: The operation name.- Parameters:
name
- the name value to set.- Returns:
- the AscOperationInner object itself.
-
startTime
public String startTime()
Get the startTime property: The start time of the operation.- Returns:
- the startTime value.
-
withStartTime
public AscOperationInner withStartTime(String startTime)
Set the startTime property: The start time of the operation.- Parameters:
startTime
- the startTime value to set.- Returns:
- the AscOperationInner object itself.
-
endTime
public String endTime()
Get the endTime property: The end time of the operation.- Returns:
- the endTime value.
-
withEndTime
public AscOperationInner withEndTime(String endTime)
Set the endTime property: The end time of the operation.- Parameters:
endTime
- the endTime value to set.- Returns:
- the AscOperationInner object itself.
-
status
public String status()
Get the status property: The status of the operation.- Returns:
- the status value.
-
withStatus
public AscOperationInner withStatus(String status)
Set the status property: The status of the operation.- Parameters:
status
- the status value to set.- Returns:
- the AscOperationInner object itself.
-
error
public ErrorResponse error()
Get the error property: The error detail of the operation if any.- Returns:
- the error value.
-
withError
public AscOperationInner withError(ErrorResponse error)
Set the error property: The error detail of the operation if any.- Parameters:
error
- the error value to set.- Returns:
- the AscOperationInner object itself.
-
output
public Map<String,Object> output()
Get the output property: Additional operation-specific output.- Returns:
- the output value.
-
withOutput
public AscOperationInner withOutput(Map<String,Object> output)
Set the output property: Additional operation-specific output.- Parameters:
output
- the output value to set.- Returns:
- the AscOperationInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-