Class ServiceOperationDisplay

java.lang.Object
com.azure.resourcemanager.datamigration.models.ServiceOperationDisplay

public final class ServiceOperationDisplay extends Object
Localized display text.
  • Constructor Details

    • ServiceOperationDisplay

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

    • provider

      public String provider()
      Get the provider property: The localized resource provider name.
      Returns:
      the provider value.
    • withProvider

      public ServiceOperationDisplay withProvider(String provider)
      Set the provider property: The localized resource provider name.
      Parameters:
      provider - the provider value to set.
      Returns:
      the ServiceOperationDisplay object itself.
    • resource

      public String resource()
      Get the resource property: The localized resource type name.
      Returns:
      the resource value.
    • withResource

      public ServiceOperationDisplay withResource(String resource)
      Set the resource property: The localized resource type name.
      Parameters:
      resource - the resource value to set.
      Returns:
      the ServiceOperationDisplay object itself.
    • operation

      public String operation()
      Get the operation property: The localized operation name.
      Returns:
      the operation value.
    • withOperation

      public ServiceOperationDisplay withOperation(String operation)
      Set the operation property: The localized operation name.
      Parameters:
      operation - the operation value to set.
      Returns:
      the ServiceOperationDisplay object itself.
    • description

      public String description()
      Get the description property: The localized operation description.
      Returns:
      the description value.
    • withDescription

      public ServiceOperationDisplay withDescription(String description)
      Set the description property: The localized operation description.
      Parameters:
      description - the description value to set.
      Returns:
      the ServiceOperationDisplay object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.