Class OperationsDisplayDefinition
java.lang.Object
com.azure.resourcemanager.workloads.models.OperationsDisplayDefinition
- Direct Known Subclasses:
OperationsDefinitionDisplay
Defines the workload operation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Describes the workload operation.Get the operation property: Defines the workload operation.provider()
Get the provider property: Defines the workload provider.resource()
Get the resource property: Defines the workload resource.void
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.
-
Constructor Details
-
OperationsDisplayDefinition
public OperationsDisplayDefinition()
-
-
Method Details
-
provider
Get the provider property: Defines the workload provider.- Returns:
- the provider value.
-
withProvider
Set the provider property: Defines the workload provider.- Parameters:
provider
- the provider value to set.- Returns:
- the OperationsDisplayDefinition object itself.
-
resource
Get the resource property: Defines the workload resource.- Returns:
- the resource value.
-
withResource
Set the resource property: Defines the workload resource.- Parameters:
resource
- the resource value to set.- Returns:
- the OperationsDisplayDefinition object itself.
-
operation
Get the operation property: Defines the workload operation.- Returns:
- the operation value.
-
withOperation
Set the operation property: Defines the workload operation.- Parameters:
operation
- the operation value to set.- Returns:
- the OperationsDisplayDefinition object itself.
-
description
Get the description property: Describes the workload operation.- Returns:
- the description value.
-
withDescription
Set the description property: Describes the workload operation.- Parameters:
description
- the description value to set.- Returns:
- the OperationsDisplayDefinition object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-