Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/
package com.microsoft.azure.management.batch;
import com.microsoft.azure.management.apigeneration.LangDefinition;
This class represents the access keys for the batch account.
/**
* This class represents the access keys for the batch account.
*/
@LangDefinition
public class BatchAccountKeys {
The primary key associated with the account.
/**
* The primary key associated with the account.
*/
private String primary;
The secondary key associated with the account.
/**
* The secondary key associated with the account.
*/
private String secondary;
Constructor for the class.
Params: - primaryKey – primary key value for the batch account
- secondaryKey – secondary key value for the batch account
/**
* Constructor for the class.
*
* @param primaryKey primary key value for the batch account
* @param secondaryKey secondary key value for the batch account
*/
public BatchAccountKeys(String primaryKey, String secondaryKey) {
primary = primaryKey;
secondary = secondaryKey;
}
Get the primary value.
Returns: the primary value
/**
* Get the primary value.
*
* @return the primary value
*/
public String primary() {
return this.primary;
}
Get the secondary value.
Returns: the secondary value
/**
* Get the secondary value.
*
* @return the secondary value
*/
public String secondary() {
return this.secondary;
}
}