Class DaprMetadata
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.DaprMetadata
-
public final class DaprMetadata extends Object
Container App Dapr component metadata.
-
-
Constructor Summary
Constructors Constructor Description DaprMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringname()Get the name property: Metadata property name.StringsecretRef()Get the secretRef property: Name of the Container App secret from which to pull the metadata property value.voidvalidate()Validates the instance.Stringvalue()Get the value property: Metadata property value.DaprMetadatawithName(String name)Set the name property: Metadata property name.DaprMetadatawithSecretRef(String secretRef)Set the secretRef property: Name of the Container App secret from which to pull the metadata property value.DaprMetadatawithValue(String value)Set the value property: Metadata property value.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Metadata property name.- Returns:
- the name value.
-
withName
public DaprMetadata withName(String name)
Set the name property: Metadata property name.- Parameters:
name- the name value to set.- Returns:
- the DaprMetadata object itself.
-
value
public String value()
Get the value property: Metadata property value.- Returns:
- the value value.
-
withValue
public DaprMetadata withValue(String value)
Set the value property: Metadata property value.- Parameters:
value- the value value to set.- Returns:
- the DaprMetadata object itself.
-
secretRef
public String secretRef()
Get the secretRef property: Name of the Container App secret from which to pull the metadata property value.- Returns:
- the secretRef value.
-
withSecretRef
public DaprMetadata withSecretRef(String secretRef)
Set the secretRef property: Name of the Container App secret from which to pull the metadata property value.- Parameters:
secretRef- the secretRef value to set.- Returns:
- the DaprMetadata object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-