Class DaprComponentInner


  • public final class DaprComponentInner
    extends com.azure.core.management.ProxyResource
    Dapr Component.
    • Constructor Detail

      • DaprComponentInner

        public DaprComponentInner()
    • Method Detail

      • systemData

        public com.azure.core.management.SystemData systemData()
        Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
        Returns:
        the systemData value.
      • componentType

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

        public DaprComponentInner withComponentType​(String componentType)
        Set the componentType property: Component type.
        Parameters:
        componentType - the componentType value to set.
        Returns:
        the DaprComponentInner object itself.
      • version

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

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

        public Boolean ignoreErrors()
        Get the ignoreErrors property: Boolean describing if the component errors are ignores.
        Returns:
        the ignoreErrors value.
      • withIgnoreErrors

        public DaprComponentInner withIgnoreErrors​(Boolean ignoreErrors)
        Set the ignoreErrors property: Boolean describing if the component errors are ignores.
        Parameters:
        ignoreErrors - the ignoreErrors value to set.
        Returns:
        the DaprComponentInner object itself.
      • initTimeout

        public String initTimeout()
        Get the initTimeout property: Initialization timeout.
        Returns:
        the initTimeout value.
      • withInitTimeout

        public DaprComponentInner withInitTimeout​(String initTimeout)
        Set the initTimeout property: Initialization timeout.
        Parameters:
        initTimeout - the initTimeout value to set.
        Returns:
        the DaprComponentInner object itself.
      • secrets

        public List<Secret> secrets()
        Get the secrets property: Collection of secrets used by a Dapr component.
        Returns:
        the secrets value.
      • withSecrets

        public DaprComponentInner withSecrets​(List<Secret> secrets)
        Set the secrets property: Collection of secrets used by a Dapr component.
        Parameters:
        secrets - the secrets value to set.
        Returns:
        the DaprComponentInner object itself.
      • metadata

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

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

        public List<String> scopes()
        Get the scopes property: Names of container apps that can use this Dapr component.
        Returns:
        the scopes value.
      • withScopes

        public DaprComponentInner withScopes​(List<String> scopes)
        Set the scopes property: Names of container apps that can use this Dapr component.
        Parameters:
        scopes - the scopes value to set.
        Returns:
        the DaprComponentInner object itself.
      • validate

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