Class OperationStatusResultInner
- java.lang.Object
-
- com.azure.resourcemanager.kubernetesconfiguration.fluent.models.OperationStatusResultInner
-
public final class OperationStatusResultInner extends Object
The current status of an async operation.
-
-
Constructor Summary
Constructors Constructor Description OperationStatusResultInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.azure.core.management.exception.ManagementError
error()
Get the error property: If present, details of the operation error.String
id()
Get the id property: Fully qualified ID for the async operation.String
name()
Get the name property: Name of the async operation.Map<String,String>
properties()
Get the properties property: Additional information, if available.String
status()
Get the status property: Operation status.void
validate()
Validates the instance.OperationStatusResultInner
withId(String id)
Set the id property: Fully qualified ID for the async operation.OperationStatusResultInner
withName(String name)
Set the name property: Name of the async operation.OperationStatusResultInner
withProperties(Map<String,String> properties)
Set the properties property: Additional information, if available.OperationStatusResultInner
withStatus(String status)
Set the status property: Operation status.
-
-
-
Method Detail
-
id
public String id()
Get the id property: Fully qualified ID for the async operation.- Returns:
- the id value.
-
withId
public OperationStatusResultInner withId(String id)
Set the id property: Fully qualified ID for the async operation.- Parameters:
id
- the id value to set.- Returns:
- the OperationStatusResultInner object itself.
-
name
public String name()
Get the name property: Name of the async operation.- Returns:
- the name value.
-
withName
public OperationStatusResultInner withName(String name)
Set the name property: Name of the async operation.- Parameters:
name
- the name value to set.- Returns:
- the OperationStatusResultInner object itself.
-
status
public String status()
Get the status property: Operation status.- Returns:
- the status value.
-
withStatus
public OperationStatusResultInner withStatus(String status)
Set the status property: Operation status.- Parameters:
status
- the status value to set.- Returns:
- the OperationStatusResultInner object itself.
-
properties
public Map<String,String> properties()
Get the properties property: Additional information, if available.- Returns:
- the properties value.
-
withProperties
public OperationStatusResultInner withProperties(Map<String,String> properties)
Set the properties property: Additional information, if available.- Parameters:
properties
- the properties value to set.- Returns:
- the OperationStatusResultInner object itself.
-
error
public com.azure.core.management.exception.ManagementError error()
Get the error property: If present, details of the operation error.- Returns:
- the error value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-