
com.pulumi.aws.s3.outputs.InventoryDestinationBucketEncryptionSseKms Maven / Gradle / Ivy
// *** 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.s3.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class InventoryDestinationBucketEncryptionSseKms {
/**
* @return ARN of the KMS customer master key (CMK) used to encrypt the inventory file.
*
*/
private String keyId;
private InventoryDestinationBucketEncryptionSseKms() {}
/**
* @return ARN of the KMS customer master key (CMK) used to encrypt the inventory file.
*
*/
public String keyId() {
return this.keyId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(InventoryDestinationBucketEncryptionSseKms defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String keyId;
public Builder() {}
public Builder(InventoryDestinationBucketEncryptionSseKms defaults) {
Objects.requireNonNull(defaults);
this.keyId = defaults.keyId;
}
@CustomType.Setter
public Builder keyId(String keyId) {
if (keyId == null) {
throw new MissingRequiredPropertyException("InventoryDestinationBucketEncryptionSseKms", "keyId");
}
this.keyId = keyId;
return this;
}
public InventoryDestinationBucketEncryptionSseKms build() {
final var _resultValue = new InventoryDestinationBucketEncryptionSseKms();
_resultValue.keyId = keyId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy