Class ApiDeploymentParameterMetadata

java.lang.Object
com.azure.resourcemanager.logic.models.ApiDeploymentParameterMetadata

public final class ApiDeploymentParameterMetadata extends Object
The API deployment parameter metadata.
  • Constructor Details

    • ApiDeploymentParameterMetadata

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

    • type

      public String type()
      Get the type property: The type.
      Returns:
      the type value.
    • withType

      public ApiDeploymentParameterMetadata withType(String type)
      Set the type property: The type.
      Parameters:
      type - the type value to set.
      Returns:
      the ApiDeploymentParameterMetadata object itself.
    • isRequired

      public Boolean isRequired()
      Get the isRequired property: Indicates whether its required.
      Returns:
      the isRequired value.
    • withIsRequired

      public ApiDeploymentParameterMetadata withIsRequired(Boolean isRequired)
      Set the isRequired property: Indicates whether its required.
      Parameters:
      isRequired - the isRequired value to set.
      Returns:
      the ApiDeploymentParameterMetadata object itself.
    • displayName

      public String displayName()
      Get the displayName property: The display name.
      Returns:
      the displayName value.
    • withDisplayName

      public ApiDeploymentParameterMetadata withDisplayName(String displayName)
      Set the displayName property: The display name.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the ApiDeploymentParameterMetadata object itself.
    • description

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

      public ApiDeploymentParameterMetadata withDescription(String description)
      Set the description property: The description.
      Parameters:
      description - the description value to set.
      Returns:
      the ApiDeploymentParameterMetadata object itself.
    • visibility

      public ApiDeploymentParameterVisibility visibility()
      Get the visibility property: The visibility.
      Returns:
      the visibility value.
    • withVisibility

      Set the visibility property: The visibility.
      Parameters:
      visibility - the visibility value to set.
      Returns:
      the ApiDeploymentParameterMetadata object itself.
    • validate

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