java.lang.Object
com.azure.resourcemanager.azurestack.models.Display

public final class Display extends Object
Contains the localized display information for this particular operation or action.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of Display class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the description property: The localized, friendly description for the operation.
    Get the operation property: The localized, friendly name for the operation.
    Get the provider property: The localized, friendly version of the resource provider name.
    Get the resource property: The localized, friendly version of the resource type related to this action or operation; the resource type should match the public documentation for the resource provider.
    void
    Validates the instance.
    withDescription(String description)
    Set the description property: The localized, friendly description for the operation.
    withOperation(String operation)
    Set the operation property: The localized, friendly name for the operation.
    withProvider(String provider)
    Set the provider property: The localized, friendly version of the resource provider name.
    withResource(String resource)
    Set the resource property: The localized, friendly version of the resource type related to this action or operation; the resource type should match the public documentation for the resource provider.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Display

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

    • provider

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

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

      public String resource()
      Get the resource property: The localized, friendly version of the resource type related to this action or operation; the resource type should match the public documentation for the resource provider.
      Returns:
      the resource value.
    • withResource

      public Display withResource(String resource)
      Set the resource property: The localized, friendly version of the resource type related to this action or operation; the resource type should match the public documentation for the resource provider.
      Parameters:
      resource - the resource value to set.
      Returns:
      the Display object itself.
    • operation

      public String operation()
      Get the operation property: The localized, friendly name for the operation. Use the name as it will displayed to the user.
      Returns:
      the operation value.
    • withOperation

      public Display withOperation(String operation)
      Set the operation property: The localized, friendly name for the operation. Use the name as it will displayed to the user.
      Parameters:
      operation - the operation value to set.
      Returns:
      the Display object itself.
    • description

      public String description()
      Get the description property: The localized, friendly description for the operation. The description will be displayed to the user. It should be thorough and concise for used in both tooltips and detailed views.
      Returns:
      the description value.
    • withDescription

      public Display withDescription(String description)
      Set the description property: The localized, friendly description for the operation. The description will be displayed to the user. It should be thorough and concise for used in both tooltips and detailed views.
      Parameters:
      description - the description value to set.
      Returns:
      the Display object itself.
    • validate

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