DaprComponentProperties Class
- java.
lang. Object - com.
azure. resourcemanager. appcontainers. fluent. models. DaprComponentProperties
- com.
Implements
public class DaprComponentProperties
implements JsonSerializable<DaprComponentProperties>
Dapr Component resource specific properties.
Constructor Summary
| Constructor | Description |
|---|---|
| DaprComponentProperties() |
Creates an instance of Dapr |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
componentType()
Get the component |
|
static
Dapr |
fromJson(JsonReader jsonReader)
Reads an instance of Dapr |
| Boolean |
ignoreErrors()
Get the ignore |
| String |
initTimeout()
Get the init |
|
List<Dapr |
metadata()
Get the metadata property: Component metadata. |
| List<String> |
scopes()
Get the scopes property: Names of container apps that can use this Dapr component. |
| List<Secret> |
secrets()
Get the secrets property: Collection of secrets used by a Dapr component. |
| String |
secretStoreComponent()
Get the secret |
|
List<Dapr |
serviceComponentBind()
Get the service |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| String |
version()
Get the version property: Component version. |
|
Dapr |
withComponentType(String componentType)
Set the component |
|
Dapr |
withIgnoreErrors(Boolean ignoreErrors)
Set the ignore |
|
Dapr |
withInitTimeout(String initTimeout)
Set the init |
|
Dapr |
withMetadata(List<DaprMetadata> metadata)
Set the metadata property: Component metadata. |
|
Dapr |
withScopes(List<String> scopes)
Set the scopes property: Names of container apps that can use this Dapr component. |
|
Dapr |
withSecrets(List<Secret> secrets)
Set the secrets property: Collection of secrets used by a Dapr component. |
|
Dapr |
withSecretStoreComponent(String secretStoreComponent)
Set the secret |
|
Dapr |
withServiceComponentBind(List<DaprComponentServiceBinding> serviceComponentBind)
Set the service |
|
Dapr |
withVersion(String version)
Set the version property: Component version. |
Methods inherited from java.lang.Object
Constructor Details
DaprComponentProperties
public DaprComponentProperties()
Creates an instance of DaprComponentProperties class.
Method Details
componentType
public String componentType()
Get the componentType property: Component type.
Returns:
fromJson
public static DaprComponentProperties fromJson(JsonReader jsonReader)
Reads an instance of DaprComponentProperties from the JsonReader.
Parameters:
Returns:
Throws:
ignoreErrors
public Boolean ignoreErrors()
Get the ignoreErrors property: Boolean describing if the component errors are ignores.
Returns:
initTimeout
public String initTimeout()
Get the initTimeout property: Initialization timeout.
Returns:
metadata
public List<DaprMetadata> metadata()
Get the metadata property: Component metadata.
Returns:
scopes
public List<String> scopes()
Get the scopes property: Names of container apps that can use this Dapr component.
Returns:
secrets
public List<Secret> secrets()
Get the secrets property: Collection of secrets used by a Dapr component.
Returns:
secretStoreComponent
public String secretStoreComponent()
Get the secretStoreComponent property: Name of a Dapr component to retrieve component secrets from.
Returns:
serviceComponentBind
public List<DaprComponentServiceBinding> serviceComponentBind()
Get the serviceComponentBind property: List of container app services that are bound to the Dapr component.
Returns:
toJson
validate
public void validate()
Validates the instance.
version
public String version()
Get the version property: Component version.
Returns:
withComponentType
public DaprComponentProperties withComponentType(String componentType)
Set the componentType property: Component type.
Parameters:
Returns:
withIgnoreErrors
public DaprComponentProperties withIgnoreErrors(Boolean ignoreErrors)
Set the ignoreErrors property: Boolean describing if the component errors are ignores.
Parameters:
Returns:
withInitTimeout
public DaprComponentProperties withInitTimeout(String initTimeout)
Set the initTimeout property: Initialization timeout.
Parameters:
Returns:
withMetadata
public DaprComponentProperties withMetadata(List<DaprMetadata> metadata)
Set the metadata property: Component metadata.
Parameters:
Returns:
withScopes
public DaprComponentProperties withScopes(List<String> scopes)
Set the scopes property: Names of container apps that can use this Dapr component.
Parameters:
Returns:
withSecrets
public DaprComponentProperties withSecrets(List<Secret> secrets)
Set the secrets property: Collection of secrets used by a Dapr component.
Parameters:
Returns:
withSecretStoreComponent
public DaprComponentProperties withSecretStoreComponent(String secretStoreComponent)
Set the secretStoreComponent property: Name of a Dapr component to retrieve component secrets from.
Parameters:
Returns:
withServiceComponentBind
public DaprComponentProperties withServiceComponentBind(List<DaprComponentServiceBinding> serviceComponentBind)
Set the serviceComponentBind property: List of container app services that are bound to the Dapr component.
Parameters:
Returns:
withVersion
public DaprComponentProperties withVersion(String version)
Set the version property: Component version.
Parameters:
Returns: