DaprServiceBindMetadata Class
- java.
lang. Object - com.
azure. resourcemanager. appcontainers. models. DaprServiceBindMetadata
- com.
Implements
public final class DaprServiceBindMetadata
implements JsonSerializable<DaprServiceBindMetadata>
Dapr component metadata.
Constructor Summary
| Constructor | Description |
|---|---|
| DaprServiceBindMetadata() |
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: Service bind metadata property name. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| String |
value()
Get the value property: Service bind metadata property value. |
|
Dapr |
withName(String name)
Set the name property: Service bind metadata property name. |
|
Dapr |
withValue(String value)
Set the value property: Service bind metadata property value. |
Methods inherited from java.lang.Object
Constructor Details
DaprServiceBindMetadata
public DaprServiceBindMetadata()
Creates an instance of DaprServiceBindMetadata class.
Method Details
fromJson
public static DaprServiceBindMetadata fromJson(JsonReader jsonReader)
Reads an instance of DaprServiceBindMetadata from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Service bind metadata property name.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: Service bind metadata property value.
Returns:
withName
public DaprServiceBindMetadata withName(String name)
Set the name property: Service bind metadata property name.
Parameters:
Returns:
withValue
public DaprServiceBindMetadata withValue(String value)
Set the value property: Service bind metadata property value.
Parameters:
Returns: