StorageDataShareAsset Class
- java.
lang. Object - com.
azure. resourcemanager. storage. models. StorageDataShareAsset
- com.
Implements
public final class StorageDataShareAsset
implements JsonSerializable<StorageDataShareAsset>
Properties of a shared resource.
Constructor Summary
| Constructor | Description |
|---|---|
| StorageDataShareAsset() |
Creates an instance of Storage |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
assetPath()
Get the asset |
| String |
displayName()
Get the display |
|
static
Storage |
fromJson(JsonReader jsonReader)
Reads an instance of Storage |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Storage |
withAssetPath(String assetPath)
Set the asset |
|
Storage |
withDisplayName(String displayName)
Set the display |
Methods inherited from java.lang.Object
Constructor Details
StorageDataShareAsset
public StorageDataShareAsset()
Creates an instance of StorageDataShareAsset class.
Method Details
assetPath
public String assetPath()
Get the assetPath property: Source Path to be shared. It can be a folder or a blob. The asset path should contain container name followed by path within the container, e.g. /container1/logs/external.
Returns:
displayName
public String displayName()
Get the displayName property: Consumer visible name of the original path.
Returns:
fromJson
public static StorageDataShareAsset fromJson(JsonReader jsonReader)
Reads an instance of StorageDataShareAsset from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withAssetPath
public StorageDataShareAsset withAssetPath(String assetPath)
Set the assetPath property: Source Path to be shared. It can be a folder or a blob. The asset path should contain container name followed by path within the container, e.g. /container1/logs/external.
Parameters:
Returns:
withDisplayName
public StorageDataShareAsset withDisplayName(String displayName)
Set the displayName property: Consumer visible name of the original path.
Parameters:
Returns: