com.pulumi.aws.kendra.outputs.GetIndexServerSideEncryptionConfiguration 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.kendra.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetIndexServerSideEncryptionConfiguration {
/**
* @return Identifier of the AWS KMScustomer master key (CMK). Amazon Kendra doesn't support asymmetric CMKs.
*
*/
private String kmsKeyId;
private GetIndexServerSideEncryptionConfiguration() {}
/**
* @return Identifier of the AWS KMScustomer master key (CMK). Amazon Kendra doesn't support asymmetric CMKs.
*
*/
public String kmsKeyId() {
return this.kmsKeyId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetIndexServerSideEncryptionConfiguration defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String kmsKeyId;
public Builder() {}
public Builder(GetIndexServerSideEncryptionConfiguration defaults) {
Objects.requireNonNull(defaults);
this.kmsKeyId = defaults.kmsKeyId;
}
@CustomType.Setter
public Builder kmsKeyId(String kmsKeyId) {
if (kmsKeyId == null) {
throw new MissingRequiredPropertyException("GetIndexServerSideEncryptionConfiguration", "kmsKeyId");
}
this.kmsKeyId = kmsKeyId;
return this;
}
public GetIndexServerSideEncryptionConfiguration build() {
final var _resultValue = new GetIndexServerSideEncryptionConfiguration();
_resultValue.kmsKeyId = kmsKeyId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy