com.microsoft.azure.management.powerbi.implementation.WorkspaceCollectionAccessKeysInner 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.implementation;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* The WorkspaceCollectionAccessKeysInner model.
*/
public class WorkspaceCollectionAccessKeysInner {
/**
* Access key 1.
*/
@JsonProperty(value = "key1")
private String key1;
/**
* Access key 2.
*/
@JsonProperty(value = "key2")
private String key2;
/**
* Get the key1 value.
*
* @return the key1 value
*/
public String key1() {
return this.key1;
}
/**
* Set the key1 value.
*
* @param key1 the key1 value to set
* @return the WorkspaceCollectionAccessKeysInner object itself.
*/
public WorkspaceCollectionAccessKeysInner withKey1(String key1) {
this.key1 = key1;
return this;
}
/**
* Get the key2 value.
*
* @return the key2 value
*/
public String key2() {
return this.key2;
}
/**
* Set the key2 value.
*
* @param key2 the key2 value to set
* @return the WorkspaceCollectionAccessKeysInner object itself.
*/
public WorkspaceCollectionAccessKeysInner withKey2(String key2) {
this.key2 = key2;
return this;
}
}