public final class OperationDisplay extends Object
| Constructor and Description |
|---|
OperationDisplay() |
| Modifier and Type | Method and Description |
|---|---|
String |
description()
Get the description property: Description of the operation.
|
String |
operation()
Get the operation property: Type of the operation: get, read, delete, etc.
|
String |
provider()
Get the provider property: Service provider: Microsoft Network.
|
String |
resource()
Get the resource property: Resource on which the operation is performed.
|
void |
validate()
Validates the instance.
|
OperationDisplay |
withDescription(String description)
Set the description property: Description of the operation.
|
OperationDisplay |
withOperation(String operation)
Set the operation property: Type of the operation: get, read, delete, etc.
|
OperationDisplay |
withProvider(String provider)
Set the provider property: Service provider: Microsoft Network.
|
OperationDisplay |
withResource(String resource)
Set the resource property: Resource on which the operation is performed.
|
public String provider()
public OperationDisplay withProvider(String provider)
provider - the provider value to set.public String resource()
public OperationDisplay withResource(String resource)
resource - the resource value to set.public String operation()
public OperationDisplay withOperation(String operation)
operation - the operation value to set.public String description()
public OperationDisplay withDescription(String description)
description - the description value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.