StorageTaskPreviewBlobProperties Class
- java.
lang. Object - com.
azure. resourcemanager. storageactions. models. StorageTaskPreviewBlobProperties
- com.
Implements
public final class StorageTaskPreviewBlobProperties
implements JsonSerializable<StorageTaskPreviewBlobProperties>
Storage task preview container properties.
Constructor Summary
| Constructor | Description |
|---|---|
| StorageTaskPreviewBlobProperties() |
Creates an instance of Storage |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Storage |
fromJson(JsonReader jsonReader)
Reads an instance of Storage |
|
Matched |
matchedBlock()
Get the matched |
|
List<Storage |
metadata()
Get the metadata property: metadata key value pairs to be tested for a match against the provided condition. |
| String |
name()
Get the name property: Name of test blob. |
|
List<Storage |
properties()
Get the properties property: properties key value pairs to be tested for a match against the provided condition. |
|
List<Storage |
tags()
Get the tags property: tags key value pairs to be tested for a match against the provided condition. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Storage |
withMetadata(List<StorageTaskPreviewKeyValueProperties> metadata)
Set the metadata property: metadata key value pairs to be tested for a match against the provided condition. |
|
Storage |
withName(String name)
Set the name property: Name of test blob. |
|
Storage |
withProperties(List<StorageTaskPreviewKeyValueProperties> properties)
Set the properties property: properties key value pairs to be tested for a match against the provided condition. |
|
Storage |
withTags(List<StorageTaskPreviewKeyValueProperties> tags)
Set the tags property: tags key value pairs to be tested for a match against the provided condition. |
Methods inherited from java.lang.Object
Constructor Details
StorageTaskPreviewBlobProperties
public StorageTaskPreviewBlobProperties()
Creates an instance of StorageTaskPreviewBlobProperties class.
Method Details
fromJson
public static StorageTaskPreviewBlobProperties fromJson(JsonReader jsonReader)
Reads an instance of StorageTaskPreviewBlobProperties from the JsonReader.
Parameters:
Returns:
Throws:
matchedBlock
public MatchedBlockName matchedBlock()
Get the matchedBlock property: Represents the condition block name that matched blob properties.
Returns:
metadata
public List<StorageTaskPreviewKeyValueProperties> metadata()
Get the metadata property: metadata key value pairs to be tested for a match against the provided condition.
Returns:
name
public String name()
Get the name property: Name of test blob.
Returns:
properties
public List<StorageTaskPreviewKeyValueProperties> properties()
Get the properties property: properties key value pairs to be tested for a match against the provided condition.
Returns:
tags
public List<StorageTaskPreviewKeyValueProperties> tags()
Get the tags property: tags key value pairs to be tested for a match against the provided condition.
Returns:
toJson
validate
public void validate()
Validates the instance.
withMetadata
public StorageTaskPreviewBlobProperties withMetadata(List<StorageTaskPreviewKeyValueProperties> metadata)
Set the metadata property: metadata key value pairs to be tested for a match against the provided condition.
Parameters:
Returns:
withName
public StorageTaskPreviewBlobProperties withName(String name)
Set the name property: Name of test blob.
Parameters:
Returns:
withProperties
public StorageTaskPreviewBlobProperties withProperties(List<StorageTaskPreviewKeyValueProperties> properties)
Set the properties property: properties key value pairs to be tested for a match against the provided condition.
Parameters:
Returns:
withTags
public StorageTaskPreviewBlobProperties withTags(List<StorageTaskPreviewKeyValueProperties> tags)
Set the tags property: tags key value pairs to be tested for a match against the provided condition.
Parameters:
Returns: