DaprMetadata Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. DaprMetadata
- com.
Implements
public final class DaprMetadata
implements JsonSerializable<DaprMetadata>
Container App Dapr component metadata.
Constructor Summary
Constructor | Description |
---|---|
DaprMetadata() |
Creates an instance of Dapr |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Dapr |
fromJson(JsonReader jsonReader)
Reads an instance of Dapr |
String |
name()
Get the name property: Metadata property name. |
String |
secretRef()
Get the secret |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
value()
Get the value property: Metadata property value. |
Dapr |
withName(String name)
Set the name property: Metadata property name. |
Dapr |
withSecretRef(String secretRef)
Set the secret |
Dapr |
withValue(String value)
Set the value property: Metadata property value. |
Methods inherited from java.lang.Object
Constructor Details
DaprMetadata
public DaprMetadata()
Creates an instance of DaprMetadata class.
Method Details
fromJson
public static DaprMetadata fromJson(JsonReader jsonReader)
Reads an instance of DaprMetadata from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Metadata property name.
Returns:
secretRef
public String secretRef()
Get the secretRef property: Name of the Container App secret from which to pull the metadata property value.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: Metadata property value.
Returns:
withName
public DaprMetadata withName(String name)
Set the name property: Metadata property name.
Parameters:
Returns:
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:
Returns:
withValue
public DaprMetadata withValue(String value)
Set the value property: Metadata property value.
Parameters:
Returns:
Applies to
Azure SDK for Java