Class Operation
java.lang.Object
com.azure.resourcemanager.containerinstance.models.Operation
An operation for Azure Container Instance service.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondisplay()Get the display property: The display information of the operation.name()Get the name property: The name of the operation.origin()Get the origin property: The intended executor of the operation.Get the properties property: The additional properties.voidvalidate()Validates the instance.withDisplay(OperationDisplay display) Set the display property: The display information of the operation.Set the name property: The name of the operation.Set the origin property: The intended executor of the operation.withProperties(Object properties) Set the properties property: The additional properties.
-
Constructor Details
-
Operation
public Operation()Creates an instance of Operation class.
-
-
Method Details
-
name
Get the name property: The name of the operation.- Returns:
- the name value.
-
withName
Set the name property: The name of the operation.- Parameters:
name- the name value to set.- Returns:
- the Operation object itself.
-
display
Get the display property: The display information of the operation.- Returns:
- the display value.
-
withDisplay
Set the display property: The display information of the operation.- Parameters:
display- the display value to set.- Returns:
- the Operation object itself.
-
properties
Get the properties property: The additional properties.- Returns:
- the properties value.
-
withProperties
Set the properties property: The additional properties.- Parameters:
properties- the properties value to set.- Returns:
- the Operation object itself.
-
origin
Get the origin property: The intended executor of the operation.- Returns:
- the origin value.
-
withOrigin
Set the origin property: The intended executor of the operation.- Parameters:
origin- the origin value to set.- Returns:
- the Operation object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-