StorageTaskPreviewActionProperties Class
- java.
lang. Object - com.
azure. resourcemanager. storageactions. models. StorageTaskPreviewActionProperties
- com.
Implements
public final class StorageTaskPreviewActionProperties
implements JsonSerializable<StorageTaskPreviewActionProperties>
Storage task preview action properties.
Constructor Summary
| Constructor | Description |
|---|---|
| StorageTaskPreviewActionProperties() |
Creates an instance of Storage |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Storage |
action()
Get the action property: Preview action to test. |
|
List<Storage |
blobs()
Get the blobs property: Properties of some sample blobs in the container to test for matches with the preview action. |
|
Storage |
container()
Get the container property: Properties of a sample container to test for a match with the preview action. |
|
static
Storage |
fromJson(JsonReader jsonReader)
Reads an instance of Storage |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Storage |
withAction(StorageTaskPreviewActionCondition action)
Set the action property: Preview action to test. |
|
Storage |
withBlobs(List<StorageTaskPreviewBlobProperties> blobs)
Set the blobs property: Properties of some sample blobs in the container to test for matches with the preview action. |
|
Storage |
withContainer(StorageTaskPreviewContainerProperties container)
Set the container property: Properties of a sample container to test for a match with the preview action. |
Methods inherited from java.lang.Object
Constructor Details
StorageTaskPreviewActionProperties
public StorageTaskPreviewActionProperties()
Creates an instance of StorageTaskPreviewActionProperties class.
Method Details
action
public StorageTaskPreviewActionCondition action()
Get the action property: Preview action to test.
Returns:
blobs
public List<StorageTaskPreviewBlobProperties> blobs()
Get the blobs property: Properties of some sample blobs in the container to test for matches with the preview action.
Returns:
container
public StorageTaskPreviewContainerProperties container()
Get the container property: Properties of a sample container to test for a match with the preview action.
Returns:
fromJson
public static StorageTaskPreviewActionProperties fromJson(JsonReader jsonReader)
Reads an instance of StorageTaskPreviewActionProperties from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withAction
public StorageTaskPreviewActionProperties withAction(StorageTaskPreviewActionCondition action)
Set the action property: Preview action to test.
Parameters:
Returns:
withBlobs
public StorageTaskPreviewActionProperties withBlobs(List<StorageTaskPreviewBlobProperties> blobs)
Set the blobs property: Properties of some sample blobs in the container to test for matches with the preview action.
Parameters:
Returns:
withContainer
public StorageTaskPreviewActionProperties withContainer(StorageTaskPreviewContainerProperties container)
Set the container property: Properties of a sample container to test for a match with the preview action.
Parameters:
Returns: