Class ResourceProviderOperationDisplay

java.lang.Object
com.azure.resourcemanager.hybridcontainerservice.models.ResourceProviderOperationDisplay

public final class ResourceProviderOperationDisplay extends Object
Display metadata associated with the operation.
  • Constructor Details

    • ResourceProviderOperationDisplay

      public ResourceProviderOperationDisplay()
      Creates an instance of ResourceProviderOperationDisplay class.
  • Method Details

    • 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: get, read, delete, etc.
      Returns:
      the operation value.
    • withOperation

      public ResourceProviderOperationDisplay withOperation(String operation)
      Set the operation property: Type of operation: get, read, 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.