StorageInfo Class
- java.
lang. Object - com.
azure. resourcemanager. appcomplianceautomation. models. StorageInfo
- com.
Implements
public final class StorageInfo
implements JsonSerializable<StorageInfo>
The information of 'bring your own storage' account binding to the report.
Constructor Summary
| Constructor | Description |
|---|---|
| StorageInfo() |
Creates an instance of Storage |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
accountName()
Get the account |
|
static
Storage |
fromJson(JsonReader jsonReader)
Reads an instance of Storage |
| String |
location()
Get the location property: The region of 'bring your own storage' account. |
| String |
resourceGroup()
Get the resource |
| String |
subscriptionId()
Get the subscription |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Storage |
withAccountName(String accountName)
Set the account |
|
Storage |
withLocation(String location)
Set the location property: The region of 'bring your own storage' account. |
|
Storage |
withResourceGroup(String resourceGroup)
Set the resource |
|
Storage |
withSubscriptionId(String subscriptionId)
Set the subscription |
Methods inherited from java.lang.Object
Constructor Details
StorageInfo
public StorageInfo()
Creates an instance of StorageInfo class.
Method Details
accountName
public String accountName()
Get the accountName property: 'bring your own storage' account name.
Returns:
fromJson
public static StorageInfo fromJson(JsonReader jsonReader)
Reads an instance of StorageInfo from the JsonReader.
Parameters:
Returns:
Throws:
location
public String location()
Get the location property: The region of 'bring your own storage' account.
Returns:
resourceGroup
public String resourceGroup()
Get the resourceGroup property: The resourceGroup which 'bring your own storage' account belongs to.
Returns:
subscriptionId
public String subscriptionId()
Get the subscriptionId property: The subscription id which 'bring your own storage' account belongs to.
Returns:
toJson
withAccountName
public StorageInfo withAccountName(String accountName)
Set the accountName property: 'bring your own storage' account name.
Parameters:
Returns:
withLocation
public StorageInfo withLocation(String location)
Set the location property: The region of 'bring your own storage' account.
Parameters:
Returns:
withResourceGroup
public StorageInfo withResourceGroup(String resourceGroup)
Set the resourceGroup property: The resourceGroup which 'bring your own storage' account belongs to.
Parameters:
Returns:
withSubscriptionId
public StorageInfo withSubscriptionId(String subscriptionId)
Set the subscriptionId property: The subscription id which 'bring your own storage' account belongs to.
Parameters:
Returns: