public final class Operation extends Object
| Constructor and Description |
|---|
Operation() |
| Modifier and Type | Method and Description |
|---|---|
OperationDisplay |
display()
Get the display property: The display information of the operation.
|
String |
name()
Get the name property: The name of the operation.
|
ContainerInstanceOperationsOrigin |
origin()
Get the origin property: The intended executor of the operation.
|
Object |
properties()
Get the properties property: The additional properties.
|
void |
validate()
Validates the instance.
|
Operation |
withDisplay(OperationDisplay display)
Set the display property: The display information of the operation.
|
Operation |
withName(String name)
Set the name property: The name of the operation.
|
Operation |
withOrigin(ContainerInstanceOperationsOrigin origin)
Set the origin property: The intended executor of the operation.
|
Operation |
withProperties(Object properties)
Set the properties property: The additional properties.
|
public String name()
public Operation withName(String name)
name - the name value to set.public OperationDisplay display()
public Operation withDisplay(OperationDisplay display)
display - the display value to set.public Object properties()
public Operation withProperties(Object properties)
properties - the properties value to set.public ContainerInstanceOperationsOrigin origin()
public Operation withOrigin(ContainerInstanceOperationsOrigin origin)
origin - the origin value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.