FileShare Class
- java.
lang. Object - com.
azure. resourcemanager. containerinstance. models. FileShare
- com.
Implements
public final class FileShare
implements JsonSerializable<FileShare>
File shares that can be mounted on container groups.
Constructor Summary
| Constructor | Description |
|---|---|
| FileShare() |
Creates an instance of File |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
File |
fromJson(JsonReader jsonReader)
Reads an instance of File |
| String |
name()
Get the name property: The name property. |
|
File |
properties()
Get the properties property: The properties property. |
| String |
resourceGroupName()
Get the resource |
| String |
storageAccountName()
Get the storage |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
File |
withName(String name)
Set the name property: The name property. |
|
File |
withProperties(FileShareProperties properties)
Set the properties property: The properties property. |
|
File |
withResourceGroupName(String resourceGroupName)
Set the resource |
|
File |
withStorageAccountName(String storageAccountName)
Set the storage |
Methods inherited from java.lang.Object
Constructor Details
FileShare
public FileShare()
Creates an instance of FileShare class.
Method Details
fromJson
public static FileShare fromJson(JsonReader jsonReader)
Reads an instance of FileShare from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name property.
Returns:
properties
public FileShareProperties properties()
Get the properties property: The properties property.
Returns:
resourceGroupName
public String resourceGroupName()
Get the resourceGroupName property: The resourceGroupName property.
Returns:
storageAccountName
public String storageAccountName()
Get the storageAccountName property: The storageAccountName property.
Returns:
toJson
validate
public void validate()
Validates the instance.
withName
public FileShare withName(String name)
Set the name property: The name property.
Parameters:
Returns:
withProperties
public FileShare withProperties(FileShareProperties properties)
Set the properties property: The properties property.
Parameters:
Returns:
withResourceGroupName
public FileShare withResourceGroupName(String resourceGroupName)
Set the resourceGroupName property: The resourceGroupName property.
Parameters:
Returns:
withStorageAccountName
public FileShare withStorageAccountName(String storageAccountName)
Set the storageAccountName property: The storageAccountName property.
Parameters:
Returns: