Display Class
- java.
lang. Object - com.
azure. resourcemanager. azurestack. models. Display
- com.
Implements
public final class Display
implements JsonSerializable<Display>
Contains the localized display information for this particular operation or action.
Constructor Summary
| Constructor | Description |
|---|---|
| Display() |
Creates an instance of Display class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
description()
Get the description property: The localized, friendly description for the operation. |
| static Display |
fromJson(JsonReader jsonReader)
Reads an instance of Display from the Json |
| 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. |
|
Json |
toJson(JsonWriter jsonWriter) |
| 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. |
Methods inherited from java.lang.Object
Constructor Details
Display
public Display()
Creates an instance of Display class.
Method Details
description
public String description()
Get the description property: The localized, friendly description for the operation. The description will be displayed to the user. It should be thorough and concise for used in both tooltips and detailed views.
Returns:
fromJson
public static Display fromJson(JsonReader jsonReader)
Reads an instance of Display from the JsonReader.
Parameters:
Returns:
Throws:
operation
public String operation()
Get the operation property: The localized, friendly name for the operation. Use the name as it will displayed to the user.
Returns:
provider
public String provider()
Get the provider property: The localized, friendly version of the resource provider name.
Returns:
resource
public 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.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDescription
public Display withDescription(String description)
Set the description property: The localized, friendly description for the operation. The description will be displayed to the user. It should be thorough and concise for used in both tooltips and detailed views.
Parameters:
Returns:
withOperation
public Display withOperation(String operation)
Set the operation property: The localized, friendly name for the operation. Use the name as it will displayed to the user.
Parameters:
Returns:
withProvider
public Display withProvider(String provider)
Set the provider property: The localized, friendly version of the resource provider name.
Parameters:
Returns:
withResource
public 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.
Parameters:
Returns: