StorageTaskPreviewKeyValueProperties Class
- java.
lang. Object - com.
azure. resourcemanager. storageactions. models. StorageTaskPreviewKeyValueProperties
- com.
Implements
public final class StorageTaskPreviewKeyValueProperties
implements JsonSerializable<StorageTaskPreviewKeyValueProperties>
Storage task preview object key value pair properties.
Constructor Summary
| Constructor | Description |
|---|---|
| StorageTaskPreviewKeyValueProperties() |
Creates an instance of Storage |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Storage |
fromJson(JsonReader jsonReader)
Reads an instance of Storage |
| String |
key()
Get the key property: Represents the key property of the pair. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| String |
value()
Get the value property: Represents the value property of the pair. |
|
Storage |
withKey(String key)
Set the key property: Represents the key property of the pair. |
|
Storage |
withValue(String value)
Set the value property: Represents the value property of the pair. |
Methods inherited from java.lang.Object
Constructor Details
StorageTaskPreviewKeyValueProperties
public StorageTaskPreviewKeyValueProperties()
Creates an instance of StorageTaskPreviewKeyValueProperties class.
Method Details
fromJson
public static StorageTaskPreviewKeyValueProperties fromJson(JsonReader jsonReader)
Reads an instance of StorageTaskPreviewKeyValueProperties from the JsonReader.
Parameters:
Returns:
Throws:
key
public String key()
Get the key property: Represents the key property of the pair.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: Represents the value property of the pair.
Returns:
withKey
public StorageTaskPreviewKeyValueProperties withKey(String key)
Set the key property: Represents the key property of the pair.
Parameters:
Returns:
withValue
public StorageTaskPreviewKeyValueProperties withValue(String value)
Set the value property: Represents the value property of the pair.
Parameters:
Returns: