StorageTaskPreviewContainerProperties Class
- java.
lang. Object - com.
azure. resourcemanager. storageactions. models. StorageTaskPreviewContainerProperties
- com.
Implements
public final class StorageTaskPreviewContainerProperties
implements JsonSerializable<StorageTaskPreviewContainerProperties>
Storage task preview container properties.
Constructor Summary
| Constructor | Description |
|---|---|
| StorageTaskPreviewContainerProperties() |
Creates an instance of Storage |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Storage |
fromJson(JsonReader jsonReader)
Reads an instance of Storage |
|
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 container. |
|
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 container. |
Methods inherited from java.lang.Object
Constructor Details
StorageTaskPreviewContainerProperties
public StorageTaskPreviewContainerProperties()
Creates an instance of StorageTaskPreviewContainerProperties class.
Method Details
fromJson
public static StorageTaskPreviewContainerProperties fromJson(JsonReader jsonReader)
Reads an instance of StorageTaskPreviewContainerProperties from the JsonReader.
Parameters:
Returns:
Throws:
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 container.
Returns:
toJson
validate
public void validate()
Validates the instance.
withMetadata
public StorageTaskPreviewContainerProperties 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 StorageTaskPreviewContainerProperties withName(String name)
Set the name property: Name of test container.
Parameters:
Returns: