DatabaseAccountListKeysResultInner Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. fluent. models. DatabaseAccountListReadOnlyKeysResultInner - com.
azure. resourcemanager. cosmos. fluent. models. DatabaseAccountListKeysResultInner
- com.
- com.
public final class DatabaseAccountListKeysResultInner
extends DatabaseAccountListReadOnlyKeysResultInner
The access keys for the given database account.
Constructor Summary
Constructor | Description |
---|---|
DatabaseAccountListKeysResultInner() |
Creates an instance of Database |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Database |
fromJson(JsonReader jsonReader)
Reads an instance of Database |
String |
primaryMasterKey()
Get the primary |
String |
primaryReadonlyMasterKey()
Get the primary |
String |
secondaryMasterKey()
Get the secondary |
String |
secondaryReadonlyMasterKey()
Get the secondary |
Json |
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:
Returns:
Throws:
primaryMasterKey
public String primaryMasterKey()
Get the primaryMasterKey property: Base 64 encoded value of the primary read-write key.
Returns:
primaryReadonlyMasterKey
public String primaryReadonlyMasterKey()
Get the primaryReadonlyMasterKey property: Base 64 encoded value of the primary read-only key.
Overrides:
DatabaseAccountListKeysResultInner.primaryReadonlyMasterKey()Returns:
secondaryMasterKey
public String secondaryMasterKey()
Get the secondaryMasterKey property: Base 64 encoded value of the secondary read-write key.
Returns:
secondaryReadonlyMasterKey
public String secondaryReadonlyMasterKey()
Get the secondaryReadonlyMasterKey property: Base 64 encoded value of the secondary read-only key.
Overrides:
DatabaseAccountListKeysResultInner.secondaryReadonlyMasterKey()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DatabaseAccountListKeysResultInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
DatabaseAccountListKeysResultInner.validate()Applies to
Azure SDK for Java