java.lang.Object
com.azure.resourcemanager.cosmos.fluent.models.DatabaseAccountListReadOnlyKeysResultInner
-
Constructor Summary
Constructors
Creates an instance of DatabaseAccountListReadOnlyKeysResultInner class.
-
Method Summary
Get the primaryReadonlyMasterKey property: Base 64 encoded value of the primary read-only key.
Get the secondaryReadonlyMasterKey property: Base 64 encoded value of the secondary read-only key.
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DatabaseAccountListReadOnlyKeysResultInner
public DatabaseAccountListReadOnlyKeysResultInner()
Creates an instance of DatabaseAccountListReadOnlyKeysResultInner class.
-
Method Details
-
primaryReadonlyMasterKey
public String primaryReadonlyMasterKey()
Get the primaryReadonlyMasterKey property: Base 64 encoded value of the primary read-only key.
- Returns:
- the primaryReadonlyMasterKey value.
-
secondaryReadonlyMasterKey
public String secondaryReadonlyMasterKey()
Get the secondaryReadonlyMasterKey property: Base 64 encoded value of the secondary read-only key.
- Returns:
- the secondaryReadonlyMasterKey value.
-
validate
public void validate()
Validates the instance.
- Throws:
IllegalArgumentException - thrown if the instance is not valid.