com.pulumi.aws.connect.outputs.InstanceStorageConfigStorageConfigS3ConfigEncryptionConfig 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.connect.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class InstanceStorageConfigStorageConfigS3ConfigEncryptionConfig {
/**
* @return The type of encryption. Valid Values: `KMS`.
*
*/
private String encryptionType;
/**
* @return The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
*
*/
private String keyId;
private InstanceStorageConfigStorageConfigS3ConfigEncryptionConfig() {}
/**
* @return The type of encryption. Valid Values: `KMS`.
*
*/
public String encryptionType() {
return this.encryptionType;
}
/**
* @return The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
*
*/
public String keyId() {
return this.keyId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(InstanceStorageConfigStorageConfigS3ConfigEncryptionConfig defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String encryptionType;
private String keyId;
public Builder() {}
public Builder(InstanceStorageConfigStorageConfigS3ConfigEncryptionConfig defaults) {
Objects.requireNonNull(defaults);
this.encryptionType = defaults.encryptionType;
this.keyId = defaults.keyId;
}
@CustomType.Setter
public Builder encryptionType(String encryptionType) {
if (encryptionType == null) {
throw new MissingRequiredPropertyException("InstanceStorageConfigStorageConfigS3ConfigEncryptionConfig", "encryptionType");
}
this.encryptionType = encryptionType;
return this;
}
@CustomType.Setter
public Builder keyId(String keyId) {
if (keyId == null) {
throw new MissingRequiredPropertyException("InstanceStorageConfigStorageConfigS3ConfigEncryptionConfig", "keyId");
}
this.keyId = keyId;
return this;
}
public InstanceStorageConfigStorageConfigS3ConfigEncryptionConfig build() {
final var _resultValue = new InstanceStorageConfigStorageConfigS3ConfigEncryptionConfig();
_resultValue.encryptionType = encryptionType;
_resultValue.keyId = keyId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy