StorageTaskPreviewActionCondition Class
- java.
lang. Object - com.
azure. resourcemanager. storageactions. models. StorageTaskPreviewActionCondition
- com.
Implements
public final class StorageTaskPreviewActionCondition
implements JsonSerializable<StorageTaskPreviewActionCondition>
Represents the storage task conditions to be tested for a match with container and blob properties.
Constructor Summary
| Constructor | Description |
|---|---|
| StorageTaskPreviewActionCondition() |
Creates an instance of Storage |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| boolean |
elseBlockExists()
Get the else |
|
static
Storage |
fromJson(JsonReader jsonReader)
Reads an instance of Storage |
|
Storage |
ifProperty()
Get the if |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Storage |
withElseBlockExists(boolean elseBlockExists)
Set the else |
|
Storage |
withIfProperty(StorageTaskPreviewActionIfCondition ifProperty)
Set the if |
Methods inherited from java.lang.Object
Constructor Details
StorageTaskPreviewActionCondition
public StorageTaskPreviewActionCondition()
Creates an instance of StorageTaskPreviewActionCondition class.
Method Details
elseBlockExists
public boolean elseBlockExists()
Get the elseBlockExists property: Specify whether the else block is present in the condition.
Returns:
fromJson
public static StorageTaskPreviewActionCondition fromJson(JsonReader jsonReader)
Reads an instance of StorageTaskPreviewActionCondition from the JsonReader.
Parameters:
Returns:
Throws:
ifProperty
public StorageTaskPreviewActionIfCondition ifProperty()
Get the ifProperty property: The condition to be tested for a match with container and blob properties.
Returns:
toJson
validate
public void validate()
Validates the instance.
withElseBlockExists
public StorageTaskPreviewActionCondition withElseBlockExists(boolean elseBlockExists)
Set the elseBlockExists property: Specify whether the else block is present in the condition.
Parameters:
Returns:
withIfProperty
public StorageTaskPreviewActionCondition withIfProperty(StorageTaskPreviewActionIfCondition ifProperty)
Set the ifProperty property: The condition to be tested for a match with container and blob properties.
Parameters:
Returns: