Share via


NginxStorageAccount Class

  • java.lang.Object
    • com.azure.resourcemanager.nginx.models.NginxStorageAccount

Implements

public final class NginxStorageAccount
implements JsonSerializable<NginxStorageAccount>

Nginx Storage Account.

Constructor Summary

Constructor Description
NginxStorageAccount()

Creates an instance of NginxStorageAccount class.

Method Summary

Modifier and Type Method and Description
String accountName()

Get the accountName property: The accountName property.

String containerName()

Get the containerName property: The containerName property.

static NginxStorageAccount fromJson(JsonReader jsonReader)

Reads an instance of NginxStorageAccount from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
NginxStorageAccount withAccountName(String accountName)

Set the accountName property: The accountName property.

NginxStorageAccount withContainerName(String containerName)

Set the containerName property: The containerName property.

Methods inherited from java.lang.Object

Constructor Details

NginxStorageAccount

public NginxStorageAccount()

Creates an instance of NginxStorageAccount class.

Method Details

accountName

public String accountName()

Get the accountName property: The accountName property.

Returns:

the accountName value.

containerName

public String containerName()

Get the containerName property: The containerName property.

Returns:

the containerName value.

fromJson

public static NginxStorageAccount fromJson(JsonReader jsonReader)

Reads an instance of NginxStorageAccount from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the NginxStorageAccount.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withAccountName

public NginxStorageAccount withAccountName(String accountName)

Set the accountName property: The accountName property.

Parameters:

accountName - the accountName value to set.

Returns:

the NginxStorageAccount object itself.

withContainerName

public NginxStorageAccount withContainerName(String containerName)

Set the containerName property: The containerName property.

Parameters:

containerName - the containerName value to set.

Returns:

the NginxStorageAccount object itself.

Applies to