Class DaprComponent
java.lang.Object
com.azure.resourcemanager.appservice.models.DaprComponent
Dapr component configuration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmetadata()
Get the metadata property: Component metadata.name()
Get the name property: Component name.type()
Get the type property: Component type.void
validate()
Validates the instance.version()
Get the version property: Component version.withMetadata
(List<DaprMetadata> metadata) Set the metadata property: Component metadata.Set the name property: Component name.Set the type property: Component type.withVersion
(String version) Set the version property: Component version.
-
Constructor Details
-
DaprComponent
public DaprComponent()
-
-
Method Details
-
name
Get the name property: Component name.- Returns:
- the name value.
-
withName
Set the name property: Component name.- Parameters:
name
- the name value to set.- Returns:
- the DaprComponent object itself.
-
type
Get the type property: Component type.- Returns:
- the type value.
-
withType
Set the type property: Component type.- Parameters:
type
- the type value to set.- Returns:
- the DaprComponent 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 DaprComponent 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 DaprComponent object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-