Class DaprComponent

java.lang.Object
com.azure.resourcemanager.appservice.models.DaprComponent

public final class DaprComponent extends Object
Dapr component configuration.
  • Constructor Details

    • DaprComponent

      public DaprComponent()
  • Method Details

    • name

      public String name()
      Get the name property: Component name.
      Returns:
      the name value.
    • withName

      public DaprComponent withName(String name)
      Set the name property: Component name.
      Parameters:
      name - the name value to set.
      Returns:
      the DaprComponent object itself.
    • type

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

      public DaprComponent withType(String type)
      Set the type property: Component type.
      Parameters:
      type - the type value to set.
      Returns:
      the DaprComponent object itself.
    • version

      public String version()
      Get the version property: Component version.
      Returns:
      the version value.
    • withVersion

      public DaprComponent withVersion(String version)
      Set the version property: Component version.
      Parameters:
      version - the version value to set.
      Returns:
      the DaprComponent object itself.
    • metadata

      public List<DaprMetadata> metadata()
      Get the metadata property: Component metadata.
      Returns:
      the metadata value.
    • withMetadata

      public DaprComponent withMetadata(List<DaprMetadata> metadata)
      Set the metadata property: Component metadata.
      Parameters:
      metadata - the metadata value to set.
      Returns:
      the DaprComponent object itself.
    • validate

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