BatchAccountKeysInner Class

  • java.lang.Object
    • com.azure.resourcemanager.batch.fluent.models.BatchAccountKeysInner

Implements

public final class BatchAccountKeysInner
implements JsonSerializable<BatchAccountKeysInner>

A set of Azure Batch account keys.

Method Summary

Modifier and Type Method and Description
String accountName()

Get the accountName property: The Batch account name.

static BatchAccountKeysInner fromJson(JsonReader jsonReader)

Reads an instance of BatchAccountKeysInner from the JsonReader.

String primary()

Get the primary property: The primary key associated with the account.

String secondary()

Get the secondary property: The secondary key associated with the account.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

accountName

public String accountName()

Get the accountName property: The Batch account name.

Returns:

the accountName value.

fromJson

public static BatchAccountKeysInner fromJson(JsonReader jsonReader)

Reads an instance of BatchAccountKeysInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of BatchAccountKeysInner 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 BatchAccountKeysInner.

primary

public String primary()

Get the primary property: The primary key associated with the account.

Returns:

the primary value.

secondary

public String secondary()

Get the secondary property: The secondary key associated with the account.

Returns:

the secondary value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to