public class OperationInner extends Object
| Constructor and Description |
|---|
OperationInner() |
| 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}.
|
String |
origin()
Get the origin property: Origin of the operation.
|
OperationPropertiesFormatServiceSpecification |
serviceSpecification()
Get the serviceSpecification property: Specification of the service.
|
void |
validate()
Validates the instance.
|
OperationInner |
withDisplay(OperationDisplay display)
Set the display property: Display metadata associated with the operation.
|
OperationInner |
withName(String name)
Set the name property: Operation name: {provider}/{resource}/{operation}.
|
OperationInner |
withOrigin(String origin)
Set the origin property: Origin of the operation.
|
OperationInner |
withServiceSpecification(OperationPropertiesFormatServiceSpecification serviceSpecification)
Set the serviceSpecification property: Specification of the service.
|
public String name()
public OperationInner withName(String name)
name - the name value to set.public OperationDisplay display()
public OperationInner withDisplay(OperationDisplay display)
display - the display value to set.public String origin()
public OperationInner withOrigin(String origin)
origin - the origin value to set.public OperationPropertiesFormatServiceSpecification serviceSpecification()
public OperationInner withServiceSpecification(OperationPropertiesFormatServiceSpecification serviceSpecification)
serviceSpecification - the serviceSpecification value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.