CustomerManagedKeyDetails.java
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.analytics.synapse.artifacts.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
/** Details of the customer managed key associated with the workspace. */
@Fluent
public final class CustomerManagedKeyDetails {
/*
* The customer managed key status on the workspace
*/
@JsonProperty(value = "status", access = JsonProperty.Access.WRITE_ONLY)
private String status;
/*
* The key object of the workspace
*/
@JsonProperty(value = "key")
private WorkspaceKeyDetails key;
/**
* Get the status property: The customer managed key status on the workspace.
*
* @return the status value.
*/
public String getStatus() {
return this.status;
}
/**
* Get the key property: The key object of the workspace.
*
* @return the key value.
*/
public WorkspaceKeyDetails getKey() {
return this.key;
}
/**
* Set the key property: The key object of the workspace.
*
* @param key the key value to set.
* @return the CustomerManagedKeyDetails object itself.
*/
public CustomerManagedKeyDetails setKey(WorkspaceKeyDetails key) {
this.key = key;
return this;
}
}