com.microsoft.azure.management.powerbi.WorkspaceCollectionAccessKey Maven / Gradle / Ivy
/**
* 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.powerbi;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* The WorkspaceCollectionAccessKey model.
*/
public class WorkspaceCollectionAccessKey {
/**
* Key name. Possible values include: 'key1', 'key2'.
*/
@JsonProperty(value = "keyName")
private AccessKeyName keyName;
/**
* Get the keyName value.
*
* @return the keyName value
*/
public AccessKeyName keyName() {
return this.keyName;
}
/**
* Set the keyName value.
*
* @param keyName the keyName value to set
* @return the WorkspaceCollectionAccessKey object itself.
*/
public WorkspaceCollectionAccessKey withKeyName(AccessKeyName keyName) {
this.keyName = keyName;
return this;
}
}