Class ElasticSanOperationDisplay
java.lang.Object
com.azure.resourcemanager.elasticsan.models.ElasticSanOperationDisplay
Metadata about an operation.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ElasticSanOperationDisplay class. -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Localized friendly description for the operation, as it should be shown to the user.Get the operation property: Localized friendly name for the operation, as it should be shown to the user.provider()
Get the provider property: Localized friendly form of the resource provider name.resource()
Get the resource property: Localized friendly form of the resource type related to this action/operation.void
validate()
Validates the instance.withDescription
(String description) Set the description property: Localized friendly description for the operation, as it should be shown to the user.withOperation
(String operation) Set the operation property: Localized friendly name for the operation, as it should be shown to the user.withProvider
(String provider) Set the provider property: Localized friendly form of the resource provider name.withResource
(String resource) Set the resource property: Localized friendly form of the resource type related to this action/operation.
-
Constructor Details
-
ElasticSanOperationDisplay
public ElasticSanOperationDisplay()Creates an instance of ElasticSanOperationDisplay class.
-
-
Method Details
-
provider
Get the provider property: Localized friendly form of the resource provider name.- Returns:
- the provider value.
-
withProvider
Set the provider property: Localized friendly form of the resource provider name.- Parameters:
provider
- the provider value to set.- Returns:
- the ElasticSanOperationDisplay object itself.
-
resource
Get the resource property: Localized friendly form of the resource type related to this action/operation.- Returns:
- the resource value.
-
withResource
Set the resource property: Localized friendly form of the resource type related to this action/operation.- Parameters:
resource
- the resource value to set.- Returns:
- the ElasticSanOperationDisplay object itself.
-
operation
Get the operation property: Localized friendly name for the operation, as it should be shown to the user.- Returns:
- the operation value.
-
withOperation
Set the operation property: Localized friendly name for the operation, as it should be shown to the user.- Parameters:
operation
- the operation value to set.- Returns:
- the ElasticSanOperationDisplay object itself.
-
description
Get the description property: Localized friendly description for the operation, as it should be shown to the user.- Returns:
- the description value.
-
withDescription
Set the description property: Localized friendly description for the operation, as it should be shown to the user.- Parameters:
description
- the description value to set.- Returns:
- the ElasticSanOperationDisplay object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-