StorageAccountSettings Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.StorageAccountSettings

Implements

public final class StorageAccountSettings
implements JsonSerializable<StorageAccountSettings>

Storage account where the connection analyzer writes its output.

Constructor Summary

Constructor Description
StorageAccountSettings()

Creates an instance of StorageAccountSettings class.

Method Summary

Modifier and Type Method and Description
static StorageAccountSettings fromJson(JsonReader jsonReader)

Reads an instance of StorageAccountSettings from the JsonReader.

String path()

Get the path property: Sub-path within the storage account where results are written.

String storageAccountId()

Get the storageAccountId property: Resource ID of the storage account.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

StorageAccountSettings withPath(String path)

Set the path property: Sub-path within the storage account where results are written.

StorageAccountSettings withStorageAccountId(String storageAccountId)

Set the storageAccountId property: Resource ID of the storage account.

Methods inherited from java.lang.Object

Constructor Details

StorageAccountSettings

public StorageAccountSettings()

Creates an instance of StorageAccountSettings class.

Method Details

fromJson

public static StorageAccountSettings fromJson(JsonReader jsonReader)

Reads an instance of StorageAccountSettings from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of StorageAccountSettings if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

path

public String path()

Get the path property: Sub-path within the storage account where results are written.

Returns:

the path value.

storageAccountId

public String storageAccountId()

Get the storageAccountId property: Resource ID of the storage account.

Returns:

the storageAccountId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withPath

public StorageAccountSettings withPath(String path)

Set the path property: Sub-path within the storage account where results are written.

Parameters:

path - the path value to set.

Returns:

the StorageAccountSettings object itself.

withStorageAccountId

public StorageAccountSettings withStorageAccountId(String storageAccountId)

Set the storageAccountId property: Resource ID of the storage account.

Parameters:

storageAccountId - the storageAccountId value to set.

Returns:

the StorageAccountSettings object itself.

Applies to