com.pulumi.aws.glue.outputs.GetDataCatalogEncryptionSettingsDataCatalogEncryptionSettingEncryptionAtRest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.glue.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetDataCatalogEncryptionSettingsDataCatalogEncryptionSettingEncryptionAtRest {
/**
* @return The encryption-at-rest mode for encrypting Data Catalog data.
*
*/
private String catalogEncryptionMode;
/**
* @return The ARN of the AWS IAM role used for accessing encrypted Data Catalog data.
*
*/
private String catalogEncryptionServiceRole;
/**
* @return ARN of the AWS KMS key to use for encryption at rest.
*
*/
private String sseAwsKmsKeyId;
private GetDataCatalogEncryptionSettingsDataCatalogEncryptionSettingEncryptionAtRest() {}
/**
* @return The encryption-at-rest mode for encrypting Data Catalog data.
*
*/
public String catalogEncryptionMode() {
return this.catalogEncryptionMode;
}
/**
* @return The ARN of the AWS IAM role used for accessing encrypted Data Catalog data.
*
*/
public String catalogEncryptionServiceRole() {
return this.catalogEncryptionServiceRole;
}
/**
* @return ARN of the AWS KMS key to use for encryption at rest.
*
*/
public String sseAwsKmsKeyId() {
return this.sseAwsKmsKeyId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetDataCatalogEncryptionSettingsDataCatalogEncryptionSettingEncryptionAtRest defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String catalogEncryptionMode;
private String catalogEncryptionServiceRole;
private String sseAwsKmsKeyId;
public Builder() {}
public Builder(GetDataCatalogEncryptionSettingsDataCatalogEncryptionSettingEncryptionAtRest defaults) {
Objects.requireNonNull(defaults);
this.catalogEncryptionMode = defaults.catalogEncryptionMode;
this.catalogEncryptionServiceRole = defaults.catalogEncryptionServiceRole;
this.sseAwsKmsKeyId = defaults.sseAwsKmsKeyId;
}
@CustomType.Setter
public Builder catalogEncryptionMode(String catalogEncryptionMode) {
if (catalogEncryptionMode == null) {
throw new MissingRequiredPropertyException("GetDataCatalogEncryptionSettingsDataCatalogEncryptionSettingEncryptionAtRest", "catalogEncryptionMode");
}
this.catalogEncryptionMode = catalogEncryptionMode;
return this;
}
@CustomType.Setter
public Builder catalogEncryptionServiceRole(String catalogEncryptionServiceRole) {
if (catalogEncryptionServiceRole == null) {
throw new MissingRequiredPropertyException("GetDataCatalogEncryptionSettingsDataCatalogEncryptionSettingEncryptionAtRest", "catalogEncryptionServiceRole");
}
this.catalogEncryptionServiceRole = catalogEncryptionServiceRole;
return this;
}
@CustomType.Setter
public Builder sseAwsKmsKeyId(String sseAwsKmsKeyId) {
if (sseAwsKmsKeyId == null) {
throw new MissingRequiredPropertyException("GetDataCatalogEncryptionSettingsDataCatalogEncryptionSettingEncryptionAtRest", "sseAwsKmsKeyId");
}
this.sseAwsKmsKeyId = sseAwsKmsKeyId;
return this;
}
public GetDataCatalogEncryptionSettingsDataCatalogEncryptionSettingEncryptionAtRest build() {
final var _resultValue = new GetDataCatalogEncryptionSettingsDataCatalogEncryptionSettingEncryptionAtRest();
_resultValue.catalogEncryptionMode = catalogEncryptionMode;
_resultValue.catalogEncryptionServiceRole = catalogEncryptionServiceRole;
_resultValue.sseAwsKmsKeyId = sseAwsKmsKeyId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy