Class OperationsDefinitionDisplay
java.lang.Object
com.azure.resourcemanager.workloads.models.OperationsDisplayDefinition
com.azure.resourcemanager.workloads.models.OperationsDefinitionDisplay
Display information of the operation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates the instance.withDescription
(String description) Set the description property: Describes the workload operation.withOperation
(String operation) Set the operation property: Defines the workload operation.withProvider
(String provider) Set the provider property: Defines the workload provider.withResource
(String resource) Set the resource property: Defines the workload resource.Methods inherited from class com.azure.resourcemanager.workloads.models.OperationsDisplayDefinition
description, operation, provider, resource
-
Constructor Details
-
OperationsDefinitionDisplay
public OperationsDefinitionDisplay()
-
-
Method Details
-
withProvider
Set the provider property: Defines the workload provider.- Overrides:
withProvider
in classOperationsDisplayDefinition
- Parameters:
provider
- the provider value to set.- Returns:
- the OperationsDisplayDefinition object itself.
-
withResource
Set the resource property: Defines the workload resource.- Overrides:
withResource
in classOperationsDisplayDefinition
- Parameters:
resource
- the resource value to set.- Returns:
- the OperationsDisplayDefinition object itself.
-
withOperation
Set the operation property: Defines the workload operation.- Overrides:
withOperation
in classOperationsDisplayDefinition
- Parameters:
operation
- the operation value to set.- Returns:
- the OperationsDisplayDefinition object itself.
-
withDescription
Set the description property: Describes the workload operation.- Overrides:
withDescription
in classOperationsDisplayDefinition
- Parameters:
description
- the description value to set.- Returns:
- the OperationsDisplayDefinition object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classOperationsDisplayDefinition
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-