com.azure.resourcemanager.cosmos.fluent.models.DatabaseAccountListKeysResultInner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-cosmos Show documentation
Show all versions of azure-resourcemanager-cosmos Show documentation
This package contains Microsoft Azure CosmosDB SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.cosmos.fluent.models;
import com.azure.core.annotation.Immutable;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* The access keys for the given database account.
*/
@Immutable
public final 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;
/**
* Creates an instance of DatabaseAccountListKeysResultInner class.
*/
public DatabaseAccountListKeysResultInner() {
}
/**
* Get the primaryMasterKey property: Base 64 encoded value of the primary read-write key.
*
* @return the primaryMasterKey value.
*/
public String primaryMasterKey() {
return this.primaryMasterKey;
}
/**
* Get the secondaryMasterKey property: Base 64 encoded value of the secondary read-write key.
*
* @return the secondaryMasterKey value.
*/
public String secondaryMasterKey() {
return this.secondaryMasterKey;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
@Override
public void validate() {
super.validate();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy