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