All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.snowflake.common.core.RemoteStoreFileEncryptionMaterial Maven / Gradle / Ivy

There is a newer version: 5.1.4
Show newest version
/*
 * Copyright (c) 2015 Snowflake Computing Inc. All right reserved.
 */
package net.snowflake.common.core;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * A class to manage encryption material for remote files for GET and PUT commands.
 *
 * @author ffunke
 */
public class RemoteStoreFileEncryptionMaterial
{
  private String queryStageMasterKey;
  private String queryId;
  private Long smkId;

  public RemoteStoreFileEncryptionMaterial(String queryStageMasterKey,
                                           String queryId,
                                           Long smkId)
  {
    this.queryStageMasterKey = queryStageMasterKey;
    this.queryId = queryId;
    this.smkId = smkId;
  }

  public RemoteStoreFileEncryptionMaterial()
  {
  }

  @JsonProperty("queryStageMasterKey")
  public String getQueryStageMasterKey()
  {
    return queryStageMasterKey;
  }

  public void setQueryStageMasterKey(String queryStageMasterKey)
  {
    this.queryStageMasterKey = queryStageMasterKey;
  }

  @JsonProperty("queryId")
  public String getQueryId()
  {
    return queryId;
  }

  public void setQueryId(String queryId)
  {
    this.queryId = queryId;
  }

  @JsonProperty("smkId")
  public Long getSmkId()
  {
    return smkId;
  }

  public void setSmkId(long smkId)
  {
    this.smkId = smkId;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy