Class DaprComponentProperties
java.lang.Object
com.azure.resourcemanager.appcontainers.fluent.models.DaprComponentProperties
Dapr Component resource specific properties.
-
Constructor Summary
ConstructorDescriptionCreates an instance of DaprComponentProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the componentType property: Component type.Get the ignoreErrors property: Boolean describing if the component errors are ignores.Get the initTimeout property: Initialization timeout.metadata()
Get the metadata property: Component metadata.scopes()
Get the scopes property: Names of container apps that can use this Dapr component.secrets()
Get the secrets property: Collection of secrets used by a Dapr component.Get the secretStoreComponent property: Name of a Dapr component to retrieve component secrets from.void
validate()
Validates the instance.version()
Get the version property: Component version.withComponentType
(String componentType) Set the componentType property: Component type.withIgnoreErrors
(Boolean ignoreErrors) Set the ignoreErrors property: Boolean describing if the component errors are ignores.withInitTimeout
(String initTimeout) Set the initTimeout property: Initialization timeout.withMetadata
(List<DaprMetadata> metadata) Set the metadata property: Component metadata.withScopes
(List<String> scopes) Set the scopes property: Names of container apps that can use this Dapr component.withSecrets
(List<Secret> secrets) Set the secrets property: Collection of secrets used by a Dapr component.withSecretStoreComponent
(String secretStoreComponent) Set the secretStoreComponent property: Name of a Dapr component to retrieve component secrets from.withVersion
(String version) Set the version property: Component version.
-
Constructor Details
-
DaprComponentProperties
public DaprComponentProperties()Creates an instance of DaprComponentProperties class.
-
-
Method Details
-
componentType
Get the componentType property: Component type.- Returns:
- the componentType value.
-
withComponentType
Set the componentType property: Component type.- Parameters:
componentType
- the componentType value to set.- Returns:
- the DaprComponentProperties object itself.
-
version
Get the version property: Component version.- Returns:
- the version value.
-
withVersion
Set the version property: Component version.- Parameters:
version
- the version value to set.- Returns:
- the DaprComponentProperties object itself.
-
ignoreErrors
Get the ignoreErrors property: Boolean describing if the component errors are ignores.- Returns:
- the ignoreErrors value.
-
withIgnoreErrors
Set the ignoreErrors property: Boolean describing if the component errors are ignores.- Parameters:
ignoreErrors
- the ignoreErrors value to set.- Returns:
- the DaprComponentProperties object itself.
-
initTimeout
Get the initTimeout property: Initialization timeout.- Returns:
- the initTimeout value.
-
withInitTimeout
Set the initTimeout property: Initialization timeout.- Parameters:
initTimeout
- the initTimeout value to set.- Returns:
- the DaprComponentProperties object itself.
-
secrets
Get the secrets property: Collection of secrets used by a Dapr component.- Returns:
- the secrets value.
-
withSecrets
Set the secrets property: Collection of secrets used by a Dapr component.- Parameters:
secrets
- the secrets value to set.- Returns:
- the DaprComponentProperties object itself.
-
secretStoreComponent
Get the secretStoreComponent property: Name of a Dapr component to retrieve component secrets from.- Returns:
- the secretStoreComponent value.
-
withSecretStoreComponent
Set the secretStoreComponent property: Name of a Dapr component to retrieve component secrets from.- Parameters:
secretStoreComponent
- the secretStoreComponent value to set.- Returns:
- the DaprComponentProperties object itself.
-
metadata
Get the metadata property: Component metadata.- Returns:
- the metadata value.
-
withMetadata
Set the metadata property: Component metadata.- Parameters:
metadata
- the metadata value to set.- Returns:
- the DaprComponentProperties object itself.
-
scopes
Get the scopes property: Names of container apps that can use this Dapr component.- Returns:
- the scopes value.
-
withScopes
Set the scopes property: Names of container apps that can use this Dapr component.- Parameters:
scopes
- the scopes value to set.- Returns:
- the DaprComponentProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-