public final class Operation extends Object
| Constructor and Description |
|---|
Operation() |
| Modifier and Type | Method and Description |
|---|---|
OperationDisplay |
display()
Get the display property: Display metadata associated with the operation.
|
String |
name()
Get the name property: Operation name: {provider}/{resource}/{operation}.
|
void |
validate()
Validates the instance.
|
Operation |
withDisplay(OperationDisplay display)
Set the display property: Display metadata associated with the operation.
|
Operation |
withName(String name)
Set the name property: Operation name: {provider}/{resource}/{operation}.
|
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 void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.