public final class Display extends Object
| Constructor and Description |
|---|
Display() |
| Modifier and Type | Method and Description |
|---|---|
String |
description()
Get the description property: The localized, friendly description for the operation.
|
String |
operation()
Get the operation property: The localized, friendly name for the operation.
|
String |
provider()
Get the provider property: The localized, friendly version of the resource provider name.
|
String |
resource()
Get the resource property: The localized, friendly version of the resource type related to this action or
operation; the resource type should match the public documentation for the resource provider.
|
void |
validate()
Validates the instance.
|
Display |
withDescription(String description)
Set the description property: The localized, friendly description for the operation.
|
Display |
withOperation(String operation)
Set the operation property: The localized, friendly name for the operation.
|
Display |
withProvider(String provider)
Set the provider property: The localized, friendly version of the resource provider name.
|
Display |
withResource(String resource)
Set the resource property: The localized, friendly version of the resource type related to this action or
operation; the resource type should match the public documentation for the resource provider.
|
public String provider()
public Display withProvider(String provider)
provider - the provider value to set.public String resource()
public Display withResource(String resource)
resource - the resource value to set.public String operation()
public Display withOperation(String operation)
operation - the operation value to set.public String description()
public Display 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.