public final class OperationDisplay extends Object
Constructor and Description |
---|
OperationDisplay() |
Modifier and Type | Method and Description |
---|---|
String |
description()
Get the description property: Operation description.
|
String |
operation()
Get the operation property: Operation name.
|
String |
provider()
Get the provider property: Resource provider name.
|
String |
resource()
Get the resource property: Resource name on which the operation is performed.
|
void |
validate()
Validates the instance.
|
OperationDisplay |
withDescription(String description)
Set the description property: Operation description.
|
OperationDisplay |
withOperation(String operation)
Set the operation property: Operation name.
|
OperationDisplay |
withProvider(String provider)
Set the provider property: Resource provider name.
|
OperationDisplay |
withResource(String resource)
Set the resource property: Resource name 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.