DatabaseAccountListKeysResultInner Class

public final class DatabaseAccountListKeysResultInner
extends DatabaseAccountListReadOnlyKeysResultInner

The access keys for the given database account.

Constructor Summary

Constructor Description
DatabaseAccountListKeysResultInner()

Creates an instance of DatabaseAccountListKeysResultInner class.

Method Summary

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

Reads an instance of DatabaseAccountListKeysResultInner from the JsonReader.

String primaryMasterKey()

Get the primaryMasterKey property: Base 64 encoded value of the primary read-write key.

String primaryReadonlyMasterKey()

Get the primaryReadonlyMasterKey property: Base 64 encoded value of the primary read-only key.

String secondaryMasterKey()

Get the secondaryMasterKey property: Base 64 encoded value of the secondary read-write key.

String secondaryReadonlyMasterKey()

Get the secondaryReadonlyMasterKey property: Base 64 encoded value of the secondary read-only key.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from DatabaseAccountListReadOnlyKeysResultInner

Methods inherited from java.lang.Object

Constructor Details

DatabaseAccountListKeysResultInner

public DatabaseAccountListKeysResultInner()

Creates an instance of DatabaseAccountListKeysResultInner class.

Method Details

fromJson

public static DatabaseAccountListKeysResultInner fromJson(JsonReader jsonReader)

Reads an instance of DatabaseAccountListKeysResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

primaryMasterKey

public String primaryMasterKey()

Get the primaryMasterKey property: Base 64 encoded value of the primary read-write key.

Returns:

the primaryMasterKey value.

primaryReadonlyMasterKey

public String primaryReadonlyMasterKey()

Get the primaryReadonlyMasterKey property: Base 64 encoded value of the primary read-only key.

Overrides:

DatabaseAccountListKeysResultInner.primaryReadonlyMasterKey()

Returns:

the primaryReadonlyMasterKey value.

secondaryMasterKey

public String secondaryMasterKey()

Get the secondaryMasterKey property: Base 64 encoded value of the secondary read-write key.

Returns:

the secondaryMasterKey value.

secondaryReadonlyMasterKey

public String secondaryReadonlyMasterKey()

Get the secondaryReadonlyMasterKey property: Base 64 encoded value of the secondary read-only key.

Overrides:

DatabaseAccountListKeysResultInner.secondaryReadonlyMasterKey()

Returns:

the secondaryReadonlyMasterKey value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DatabaseAccountListKeysResultInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

DatabaseAccountListKeysResultInner.validate()

Applies to