public final class OperationMetadataDisplay extends Object
Constructor and Description |
---|
OperationMetadataDisplay() |
Modifier and Type | Method and Description |
---|---|
String |
description()
Get the description property: Friendly name of the operation.
|
String |
operation()
Get the operation property: Operation type: read, write, delete, listKeys/action, etc.
|
String |
provider()
Get the provider property: Friendly name of the resource provider.
|
String |
resource()
Get the resource property: Resource type on which the operation is performed.
|
void |
validate()
Validates the instance.
|
OperationMetadataDisplay |
withDescription(String description)
Set the description property: Friendly name of the operation.
|
OperationMetadataDisplay |
withOperation(String operation)
Set the operation property: Operation type: read, write, delete, listKeys/action, etc.
|
OperationMetadataDisplay |
withProvider(String provider)
Set the provider property: Friendly name of the resource provider.
|
OperationMetadataDisplay |
withResource(String resource)
Set the resource property: Resource type on which the operation is performed.
|
public String provider()
public OperationMetadataDisplay withProvider(String provider)
provider
- the provider value to set.public String resource()
public OperationMetadataDisplay withResource(String resource)
resource
- the resource value to set.public String operation()
public OperationMetadataDisplay withOperation(String operation)
operation
- the operation value to set.public String description()
public OperationMetadataDisplay 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.