Class Display
java.lang.Object
com.azure.resourcemanager.azurestack.models.Display
Contains the localized display information for this particular operation or action.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the description property: The localized, friendly description for the operation.Get the operation property: The localized, friendly name for the operation.provider()
Get the provider property: The localized, friendly version of the resource provider name.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.withDescription
(String description) Set the description property: The localized, friendly description for the operation.withOperation
(String operation) Set the operation property: The localized, friendly name for the operation.withProvider
(String provider) Set the provider property: The localized, friendly version of the resource provider name.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.
-
Constructor Details
-
Display
public Display()Creates an instance of Display class.
-
-
Method Details
-
provider
Get the provider property: The localized, friendly version of the resource provider name.- Returns:
- the provider value.
-
withProvider
Set the provider property: The localized, friendly version of the resource provider name.- Parameters:
provider
- the provider value to set.- Returns:
- the Display object itself.
-
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:
- the resource value.
-
withResource
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:
resource
- the resource value to set.- Returns:
- the Display object itself.
-
operation
Get the operation property: The localized, friendly name for the operation. Use the name as it will displayed to the user.- Returns:
- the operation value.
-
withOperation
Set the operation property: The localized, friendly name for the operation. Use the name as it will displayed to the user.- Parameters:
operation
- the operation value to set.- Returns:
- the Display object itself.
-
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:
- the description value.
-
withDescription
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:
description
- the description value to set.- Returns:
- the Display object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-