Class ResourceProviderOperationDisplay
- java.lang.Object
-
- com.azure.resourcemanager.scvmm.models.ResourceProviderOperationDisplay
-
public final class ResourceProviderOperationDisplay extends Object
Display metadata associated with the operation.
-
-
Constructor Summary
Constructors Constructor Description ResourceProviderOperationDisplay()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
description()
Get the description property: Description of this operation.String
operation()
Get the operation property: Type of operation: read, write, delete, etc.String
provider()
Get the provider property: The resource provider.String
resource()
Get the resource property: Resource on which the operation is performed.void
validate()
Validates the instance.ResourceProviderOperationDisplay
withDescription(String description)
Set the description property: Description of this operation.ResourceProviderOperationDisplay
withOperation(String operation)
Set the operation property: Type of operation: read, write, delete, etc.ResourceProviderOperationDisplay
withProvider(String provider)
Set the provider property: The resource provider.ResourceProviderOperationDisplay
withResource(String resource)
Set the resource property: Resource on which the operation is performed.
-
-
-
Method Detail
-
provider
public String provider()
Get the provider property: The resource provider.- Returns:
- the provider value.
-
withProvider
public ResourceProviderOperationDisplay withProvider(String provider)
Set the provider property: The resource provider.- Parameters:
provider
- the provider value to set.- Returns:
- the ResourceProviderOperationDisplay object itself.
-
resource
public String resource()
Get the resource property: Resource on which the operation is performed.- Returns:
- the resource value.
-
withResource
public ResourceProviderOperationDisplay withResource(String resource)
Set the resource property: Resource on which the operation is performed.- Parameters:
resource
- the resource value to set.- Returns:
- the ResourceProviderOperationDisplay object itself.
-
operation
public String operation()
Get the operation property: Type of operation: read, write, delete, etc.- Returns:
- the operation value.
-
withOperation
public ResourceProviderOperationDisplay withOperation(String operation)
Set the operation property: Type of operation: read, write, delete, etc.- Parameters:
operation
- the operation value to set.- Returns:
- the ResourceProviderOperationDisplay object itself.
-
description
public String description()
Get the description property: Description of this operation.- Returns:
- the description value.
-
withDescription
public ResourceProviderOperationDisplay withDescription(String description)
Set the description property: Description of this operation.- Parameters:
description
- the description value to set.- Returns:
- the ResourceProviderOperationDisplay object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-