StorageTaskPreviewActionIfCondition Class
- java.
lang. Object - com.
azure. resourcemanager. storageactions. models. StorageTaskPreviewActionIfCondition
- com.
Implements
public final class StorageTaskPreviewActionIfCondition
implements JsonSerializable<StorageTaskPreviewActionIfCondition>
Represents storage task preview action condition.
Constructor Summary
| Constructor | Description |
|---|---|
| StorageTaskPreviewActionIfCondition() |
Creates an instance of Storage |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
condition()
Get the condition property: Storage task condition to bes tested for a match. |
|
static
Storage |
fromJson(JsonReader jsonReader)
Reads an instance of Storage |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Storage |
withCondition(String condition)
Set the condition property: Storage task condition to bes tested for a match. |
Methods inherited from java.lang.Object
Constructor Details
StorageTaskPreviewActionIfCondition
public StorageTaskPreviewActionIfCondition()
Creates an instance of StorageTaskPreviewActionIfCondition class.
Method Details
condition
public String condition()
Get the condition property: Storage task condition to bes tested for a match.
Returns:
fromJson
public static StorageTaskPreviewActionIfCondition fromJson(JsonReader jsonReader)
Reads an instance of StorageTaskPreviewActionIfCondition from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withCondition
public StorageTaskPreviewActionIfCondition withCondition(String condition)
Set the condition property: Storage task condition to bes tested for a match.
Parameters:
Returns: