Class DaprMetadata
- java.lang.Object
-
- com.azure.resourcemanager.appcontainers.models.DaprMetadata
-
public final class DaprMetadata extends Object
Dapr component metadata.
-
-
Constructor Summary
Constructors Constructor Description DaprMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
name()
Get the name property: Metadata property name.String
secretRef()
Get the secretRef property: Name of the Dapr Component secret from which to pull the metadata property value.void
validate()
Validates the instance.String
value()
Get the value property: Metadata property value.DaprMetadata
withName(String name)
Set the name property: Metadata property name.DaprMetadata
withSecretRef(String secretRef)
Set the secretRef property: Name of the Dapr Component secret from which to pull the metadata property value.DaprMetadata
withValue(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 Dapr Component 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 Dapr Component 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.
-
-