com.microsoft.azure.management.cosmosdb.implementation.DatabaseAccountListKeysResultInner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-cosmosdb Show documentation
Show all versions of azure-mgmt-cosmosdb Show documentation
This package contains Microsoft Azure CosmosDB SDK. A new set of management libraries are now Generally Available. For documentation on how to use the new libraries, please see https://aka.ms/azsdk/java/mgmt
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.cosmosdb.implementation;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* The access keys for the given database account.
*/
public class DatabaseAccountListKeysResultInner extends DatabaseAccountListReadOnlyKeysResultInner {
/**
* Base 64 encoded value of the primary read-write key.
*/
@JsonProperty(value = "primaryMasterKey", access = JsonProperty.Access.WRITE_ONLY)
private String primaryMasterKey;
/**
* Base 64 encoded value of the secondary read-write key.
*/
@JsonProperty(value = "secondaryMasterKey", access = JsonProperty.Access.WRITE_ONLY)
private String secondaryMasterKey;
/**
* Get base 64 encoded value of the primary read-write key.
*
* @return the primaryMasterKey value
*/
public String primaryMasterKey() {
return this.primaryMasterKey;
}
/**
* Get base 64 encoded value of the secondary read-write key.
*
* @return the secondaryMasterKey value
*/
public String secondaryMasterKey() {
return this.secondaryMasterKey;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy