io.github.hsiehshujeng.cdk.comprehend.s3olap.ComprehendS3olabProps Maven / Gradle / Ivy
Show all versions of cdk-comprehend-s3olap Show documentation
package io.github.hsiehshujeng.cdk.comprehend.s3olap;
/**
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.102.0 (build e354887)", date = "2024-08-18T00:49:21.570Z")
@software.amazon.jsii.Jsii(module = io.github.hsiehshujeng.cdk.comprehend.s3olap.$Module.class, fqn = "cdk-comprehend-s3olap.ComprehendS3olabProps")
@software.amazon.jsii.Jsii.Proxy(ComprehendS3olabProps.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public interface ComprehendS3olabProps extends software.amazon.jsii.JsiiSerializable {
/**
* The parameters needed for the ComprehendPiiAccessControlS3ObjectLambda
function.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable io.github.hsiehshujeng.cdk.comprehend.s3olap.AccessConrtolLambdaProps getAccessControlLambdaConfig() {
return null;
}
/**
* The parameters of the ComprehendPiiRedactionS3ObjectLambda
function for the AdminRole
.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable io.github.hsiehshujeng.cdk.comprehend.s3olap.RedactionLambdaProps getAdminRedactionLambdaConfig() {
return null;
}
/**
* The manageable properties for the administrator IAM role in the redaction case.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable io.github.hsiehshujeng.cdk.comprehend.s3olap.AdminRoleProps getAdminRoleConfig() {
return null;
}
/**
* The parameters of the ComprehendPiiRedactionS3ObjectLambda
function for the BillingRole
.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable io.github.hsiehshujeng.cdk.comprehend.s3olap.RedactionLambdaProps getBillingRedactionLambdaConfig() {
return null;
}
/**
* The manageable properties for the billing IAM role in the redaction case.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable io.github.hsiehshujeng.cdk.comprehend.s3olap.BillingRoleProps getBillingRoleConfig() {
return null;
}
/**
* The parameters of the ComprehendPiiRedactionS3ObjectLambda
function for the CustSupportRole
.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable io.github.hsiehshujeng.cdk.comprehend.s3olap.RedactionLambdaProps getCusrtSupportRedactionLambdaConfig() {
return null;
}
/**
* The manageable properties for the customer support IAM role in the redaction case.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable io.github.hsiehshujeng.cdk.comprehend.s3olap.CustSupportRoleProps getCustSupportRoleConfig() {
return null;
}
/**
* The directory path where files/access_control/*.txt
and files/redaction/*.txt
will be put.
*
* DO NOT INCLUDE /
in the end.
*
* Default: __dirname
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.String getExampleFileDir() {
return null;
}
/**
* The manageable properties for the IAM role used to access the survey-results.txt
data.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable io.github.hsiehshujeng.cdk.comprehend.s3olap.GeneralRoleProps getGeneralRoleConfig() {
return null;
}
/**
* For distinguish test and normal deployment.
*
* Default: true
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.Boolean getGenerateRandomCharacters() {
return null;
}
/**
* The names of the S3 access points for the access control case and redaction case.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable io.github.hsiehshujeng.cdk.comprehend.s3olap.S3AccessPointNames getS3AccessPointNames() {
return null;
}
/**
* The prefix attached to the name of the S3 bucket where you are going to explore the S3 Object Lambda pertaining to the access control case.
*
* Default: 6 random words
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.String getSurveyBucketPrefix() {
return null;
}
/**
* The prefix attached to the name of the S3 bucket where you are going to explore the S3 Object Lambda pertaining to the redaction case.
*
* Default: 6 random words
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.String getTranscriptsBucketPrefix() {
return null;
}
/**
* @return a {@link Builder} of {@link ComprehendS3olabProps}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
static Builder builder() {
return new Builder();
}
/**
* A builder for {@link ComprehendS3olabProps}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static final class Builder implements software.amazon.jsii.Builder {
io.github.hsiehshujeng.cdk.comprehend.s3olap.AccessConrtolLambdaProps accessControlLambdaConfig;
io.github.hsiehshujeng.cdk.comprehend.s3olap.RedactionLambdaProps adminRedactionLambdaConfig;
io.github.hsiehshujeng.cdk.comprehend.s3olap.AdminRoleProps adminRoleConfig;
io.github.hsiehshujeng.cdk.comprehend.s3olap.RedactionLambdaProps billingRedactionLambdaConfig;
io.github.hsiehshujeng.cdk.comprehend.s3olap.BillingRoleProps billingRoleConfig;
io.github.hsiehshujeng.cdk.comprehend.s3olap.RedactionLambdaProps cusrtSupportRedactionLambdaConfig;
io.github.hsiehshujeng.cdk.comprehend.s3olap.CustSupportRoleProps custSupportRoleConfig;
java.lang.String exampleFileDir;
io.github.hsiehshujeng.cdk.comprehend.s3olap.GeneralRoleProps generalRoleConfig;
java.lang.Boolean generateRandomCharacters;
io.github.hsiehshujeng.cdk.comprehend.s3olap.S3AccessPointNames s3AccessPointNames;
java.lang.String surveyBucketPrefix;
java.lang.String transcriptsBucketPrefix;
/**
* Sets the value of {@link ComprehendS3olabProps#getAccessControlLambdaConfig}
* @param accessControlLambdaConfig The parameters needed for the ComprehendPiiAccessControlS3ObjectLambda
function.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder accessControlLambdaConfig(io.github.hsiehshujeng.cdk.comprehend.s3olap.AccessConrtolLambdaProps accessControlLambdaConfig) {
this.accessControlLambdaConfig = accessControlLambdaConfig;
return this;
}
/**
* Sets the value of {@link ComprehendS3olabProps#getAdminRedactionLambdaConfig}
* @param adminRedactionLambdaConfig The parameters of the ComprehendPiiRedactionS3ObjectLambda
function for the AdminRole
.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder adminRedactionLambdaConfig(io.github.hsiehshujeng.cdk.comprehend.s3olap.RedactionLambdaProps adminRedactionLambdaConfig) {
this.adminRedactionLambdaConfig = adminRedactionLambdaConfig;
return this;
}
/**
* Sets the value of {@link ComprehendS3olabProps#getAdminRoleConfig}
* @param adminRoleConfig The manageable properties for the administrator IAM role in the redaction case.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder adminRoleConfig(io.github.hsiehshujeng.cdk.comprehend.s3olap.AdminRoleProps adminRoleConfig) {
this.adminRoleConfig = adminRoleConfig;
return this;
}
/**
* Sets the value of {@link ComprehendS3olabProps#getBillingRedactionLambdaConfig}
* @param billingRedactionLambdaConfig The parameters of the ComprehendPiiRedactionS3ObjectLambda
function for the BillingRole
.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder billingRedactionLambdaConfig(io.github.hsiehshujeng.cdk.comprehend.s3olap.RedactionLambdaProps billingRedactionLambdaConfig) {
this.billingRedactionLambdaConfig = billingRedactionLambdaConfig;
return this;
}
/**
* Sets the value of {@link ComprehendS3olabProps#getBillingRoleConfig}
* @param billingRoleConfig The manageable properties for the billing IAM role in the redaction case.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder billingRoleConfig(io.github.hsiehshujeng.cdk.comprehend.s3olap.BillingRoleProps billingRoleConfig) {
this.billingRoleConfig = billingRoleConfig;
return this;
}
/**
* Sets the value of {@link ComprehendS3olabProps#getCusrtSupportRedactionLambdaConfig}
* @param cusrtSupportRedactionLambdaConfig The parameters of the ComprehendPiiRedactionS3ObjectLambda
function for the CustSupportRole
.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder cusrtSupportRedactionLambdaConfig(io.github.hsiehshujeng.cdk.comprehend.s3olap.RedactionLambdaProps cusrtSupportRedactionLambdaConfig) {
this.cusrtSupportRedactionLambdaConfig = cusrtSupportRedactionLambdaConfig;
return this;
}
/**
* Sets the value of {@link ComprehendS3olabProps#getCustSupportRoleConfig}
* @param custSupportRoleConfig The manageable properties for the customer support IAM role in the redaction case.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder custSupportRoleConfig(io.github.hsiehshujeng.cdk.comprehend.s3olap.CustSupportRoleProps custSupportRoleConfig) {
this.custSupportRoleConfig = custSupportRoleConfig;
return this;
}
/**
* Sets the value of {@link ComprehendS3olabProps#getExampleFileDir}
* @param exampleFileDir The directory path where files/access_control/*.txt
and files/redaction/*.txt
will be put.
* DO NOT INCLUDE /
in the end.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder exampleFileDir(java.lang.String exampleFileDir) {
this.exampleFileDir = exampleFileDir;
return this;
}
/**
* Sets the value of {@link ComprehendS3olabProps#getGeneralRoleConfig}
* @param generalRoleConfig The manageable properties for the IAM role used to access the survey-results.txt
data.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder generalRoleConfig(io.github.hsiehshujeng.cdk.comprehend.s3olap.GeneralRoleProps generalRoleConfig) {
this.generalRoleConfig = generalRoleConfig;
return this;
}
/**
* Sets the value of {@link ComprehendS3olabProps#getGenerateRandomCharacters}
* @param generateRandomCharacters For distinguish test and normal deployment.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder generateRandomCharacters(java.lang.Boolean generateRandomCharacters) {
this.generateRandomCharacters = generateRandomCharacters;
return this;
}
/**
* Sets the value of {@link ComprehendS3olabProps#getS3AccessPointNames}
* @param s3AccessPointNames The names of the S3 access points for the access control case and redaction case.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder s3AccessPointNames(io.github.hsiehshujeng.cdk.comprehend.s3olap.S3AccessPointNames s3AccessPointNames) {
this.s3AccessPointNames = s3AccessPointNames;
return this;
}
/**
* Sets the value of {@link ComprehendS3olabProps#getSurveyBucketPrefix}
* @param surveyBucketPrefix The prefix attached to the name of the S3 bucket where you are going to explore the S3 Object Lambda pertaining to the access control case.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder surveyBucketPrefix(java.lang.String surveyBucketPrefix) {
this.surveyBucketPrefix = surveyBucketPrefix;
return this;
}
/**
* Sets the value of {@link ComprehendS3olabProps#getTranscriptsBucketPrefix}
* @param transcriptsBucketPrefix The prefix attached to the name of the S3 bucket where you are going to explore the S3 Object Lambda pertaining to the redaction case.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder transcriptsBucketPrefix(java.lang.String transcriptsBucketPrefix) {
this.transcriptsBucketPrefix = transcriptsBucketPrefix;
return this;
}
/**
* Builds the configured instance.
* @return a new instance of {@link ComprehendS3olabProps}
* @throws NullPointerException if any required attribute was not provided
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
public ComprehendS3olabProps build() {
return new Jsii$Proxy(this);
}
}
/**
* An implementation for {@link ComprehendS3olabProps}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Internal
final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComprehendS3olabProps {
private final io.github.hsiehshujeng.cdk.comprehend.s3olap.AccessConrtolLambdaProps accessControlLambdaConfig;
private final io.github.hsiehshujeng.cdk.comprehend.s3olap.RedactionLambdaProps adminRedactionLambdaConfig;
private final io.github.hsiehshujeng.cdk.comprehend.s3olap.AdminRoleProps adminRoleConfig;
private final io.github.hsiehshujeng.cdk.comprehend.s3olap.RedactionLambdaProps billingRedactionLambdaConfig;
private final io.github.hsiehshujeng.cdk.comprehend.s3olap.BillingRoleProps billingRoleConfig;
private final io.github.hsiehshujeng.cdk.comprehend.s3olap.RedactionLambdaProps cusrtSupportRedactionLambdaConfig;
private final io.github.hsiehshujeng.cdk.comprehend.s3olap.CustSupportRoleProps custSupportRoleConfig;
private final java.lang.String exampleFileDir;
private final io.github.hsiehshujeng.cdk.comprehend.s3olap.GeneralRoleProps generalRoleConfig;
private final java.lang.Boolean generateRandomCharacters;
private final io.github.hsiehshujeng.cdk.comprehend.s3olap.S3AccessPointNames s3AccessPointNames;
private final java.lang.String surveyBucketPrefix;
private final java.lang.String transcriptsBucketPrefix;
/**
* Constructor that initializes the object based on values retrieved from the JsiiObject.
* @param objRef Reference to the JSII managed object.
*/
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
this.accessControlLambdaConfig = software.amazon.jsii.Kernel.get(this, "accessControlLambdaConfig", software.amazon.jsii.NativeType.forClass(io.github.hsiehshujeng.cdk.comprehend.s3olap.AccessConrtolLambdaProps.class));
this.adminRedactionLambdaConfig = software.amazon.jsii.Kernel.get(this, "adminRedactionLambdaConfig", software.amazon.jsii.NativeType.forClass(io.github.hsiehshujeng.cdk.comprehend.s3olap.RedactionLambdaProps.class));
this.adminRoleConfig = software.amazon.jsii.Kernel.get(this, "adminRoleConfig", software.amazon.jsii.NativeType.forClass(io.github.hsiehshujeng.cdk.comprehend.s3olap.AdminRoleProps.class));
this.billingRedactionLambdaConfig = software.amazon.jsii.Kernel.get(this, "billingRedactionLambdaConfig", software.amazon.jsii.NativeType.forClass(io.github.hsiehshujeng.cdk.comprehend.s3olap.RedactionLambdaProps.class));
this.billingRoleConfig = software.amazon.jsii.Kernel.get(this, "billingRoleConfig", software.amazon.jsii.NativeType.forClass(io.github.hsiehshujeng.cdk.comprehend.s3olap.BillingRoleProps.class));
this.cusrtSupportRedactionLambdaConfig = software.amazon.jsii.Kernel.get(this, "cusrtSupportRedactionLambdaConfig", software.amazon.jsii.NativeType.forClass(io.github.hsiehshujeng.cdk.comprehend.s3olap.RedactionLambdaProps.class));
this.custSupportRoleConfig = software.amazon.jsii.Kernel.get(this, "custSupportRoleConfig", software.amazon.jsii.NativeType.forClass(io.github.hsiehshujeng.cdk.comprehend.s3olap.CustSupportRoleProps.class));
this.exampleFileDir = software.amazon.jsii.Kernel.get(this, "exampleFileDir", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.generalRoleConfig = software.amazon.jsii.Kernel.get(this, "generalRoleConfig", software.amazon.jsii.NativeType.forClass(io.github.hsiehshujeng.cdk.comprehend.s3olap.GeneralRoleProps.class));
this.generateRandomCharacters = software.amazon.jsii.Kernel.get(this, "generateRandomCharacters", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.s3AccessPointNames = software.amazon.jsii.Kernel.get(this, "s3AccessPointNames", software.amazon.jsii.NativeType.forClass(io.github.hsiehshujeng.cdk.comprehend.s3olap.S3AccessPointNames.class));
this.surveyBucketPrefix = software.amazon.jsii.Kernel.get(this, "surveyBucketPrefix", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.transcriptsBucketPrefix = software.amazon.jsii.Kernel.get(this, "transcriptsBucketPrefix", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* Constructor that initializes the object based on literal property values passed by the {@link Builder}.
*/
protected Jsii$Proxy(final Builder builder) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
this.accessControlLambdaConfig = builder.accessControlLambdaConfig;
this.adminRedactionLambdaConfig = builder.adminRedactionLambdaConfig;
this.adminRoleConfig = builder.adminRoleConfig;
this.billingRedactionLambdaConfig = builder.billingRedactionLambdaConfig;
this.billingRoleConfig = builder.billingRoleConfig;
this.cusrtSupportRedactionLambdaConfig = builder.cusrtSupportRedactionLambdaConfig;
this.custSupportRoleConfig = builder.custSupportRoleConfig;
this.exampleFileDir = builder.exampleFileDir;
this.generalRoleConfig = builder.generalRoleConfig;
this.generateRandomCharacters = builder.generateRandomCharacters;
this.s3AccessPointNames = builder.s3AccessPointNames;
this.surveyBucketPrefix = builder.surveyBucketPrefix;
this.transcriptsBucketPrefix = builder.transcriptsBucketPrefix;
}
@Override
public final io.github.hsiehshujeng.cdk.comprehend.s3olap.AccessConrtolLambdaProps getAccessControlLambdaConfig() {
return this.accessControlLambdaConfig;
}
@Override
public final io.github.hsiehshujeng.cdk.comprehend.s3olap.RedactionLambdaProps getAdminRedactionLambdaConfig() {
return this.adminRedactionLambdaConfig;
}
@Override
public final io.github.hsiehshujeng.cdk.comprehend.s3olap.AdminRoleProps getAdminRoleConfig() {
return this.adminRoleConfig;
}
@Override
public final io.github.hsiehshujeng.cdk.comprehend.s3olap.RedactionLambdaProps getBillingRedactionLambdaConfig() {
return this.billingRedactionLambdaConfig;
}
@Override
public final io.github.hsiehshujeng.cdk.comprehend.s3olap.BillingRoleProps getBillingRoleConfig() {
return this.billingRoleConfig;
}
@Override
public final io.github.hsiehshujeng.cdk.comprehend.s3olap.RedactionLambdaProps getCusrtSupportRedactionLambdaConfig() {
return this.cusrtSupportRedactionLambdaConfig;
}
@Override
public final io.github.hsiehshujeng.cdk.comprehend.s3olap.CustSupportRoleProps getCustSupportRoleConfig() {
return this.custSupportRoleConfig;
}
@Override
public final java.lang.String getExampleFileDir() {
return this.exampleFileDir;
}
@Override
public final io.github.hsiehshujeng.cdk.comprehend.s3olap.GeneralRoleProps getGeneralRoleConfig() {
return this.generalRoleConfig;
}
@Override
public final java.lang.Boolean getGenerateRandomCharacters() {
return this.generateRandomCharacters;
}
@Override
public final io.github.hsiehshujeng.cdk.comprehend.s3olap.S3AccessPointNames getS3AccessPointNames() {
return this.s3AccessPointNames;
}
@Override
public final java.lang.String getSurveyBucketPrefix() {
return this.surveyBucketPrefix;
}
@Override
public final java.lang.String getTranscriptsBucketPrefix() {
return this.transcriptsBucketPrefix;
}
@Override
@software.amazon.jsii.Internal
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson() {
final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE;
final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
if (this.getAccessControlLambdaConfig() != null) {
data.set("accessControlLambdaConfig", om.valueToTree(this.getAccessControlLambdaConfig()));
}
if (this.getAdminRedactionLambdaConfig() != null) {
data.set("adminRedactionLambdaConfig", om.valueToTree(this.getAdminRedactionLambdaConfig()));
}
if (this.getAdminRoleConfig() != null) {
data.set("adminRoleConfig", om.valueToTree(this.getAdminRoleConfig()));
}
if (this.getBillingRedactionLambdaConfig() != null) {
data.set("billingRedactionLambdaConfig", om.valueToTree(this.getBillingRedactionLambdaConfig()));
}
if (this.getBillingRoleConfig() != null) {
data.set("billingRoleConfig", om.valueToTree(this.getBillingRoleConfig()));
}
if (this.getCusrtSupportRedactionLambdaConfig() != null) {
data.set("cusrtSupportRedactionLambdaConfig", om.valueToTree(this.getCusrtSupportRedactionLambdaConfig()));
}
if (this.getCustSupportRoleConfig() != null) {
data.set("custSupportRoleConfig", om.valueToTree(this.getCustSupportRoleConfig()));
}
if (this.getExampleFileDir() != null) {
data.set("exampleFileDir", om.valueToTree(this.getExampleFileDir()));
}
if (this.getGeneralRoleConfig() != null) {
data.set("generalRoleConfig", om.valueToTree(this.getGeneralRoleConfig()));
}
if (this.getGenerateRandomCharacters() != null) {
data.set("generateRandomCharacters", om.valueToTree(this.getGenerateRandomCharacters()));
}
if (this.getS3AccessPointNames() != null) {
data.set("s3AccessPointNames", om.valueToTree(this.getS3AccessPointNames()));
}
if (this.getSurveyBucketPrefix() != null) {
data.set("surveyBucketPrefix", om.valueToTree(this.getSurveyBucketPrefix()));
}
if (this.getTranscriptsBucketPrefix() != null) {
data.set("transcriptsBucketPrefix", om.valueToTree(this.getTranscriptsBucketPrefix()));
}
final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
struct.set("fqn", om.valueToTree("cdk-comprehend-s3olap.ComprehendS3olabProps"));
struct.set("data", data);
final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
obj.set("$jsii.struct", struct);
return obj;
}
@Override
public final boolean equals(final Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
ComprehendS3olabProps.Jsii$Proxy that = (ComprehendS3olabProps.Jsii$Proxy) o;
if (this.accessControlLambdaConfig != null ? !this.accessControlLambdaConfig.equals(that.accessControlLambdaConfig) : that.accessControlLambdaConfig != null) return false;
if (this.adminRedactionLambdaConfig != null ? !this.adminRedactionLambdaConfig.equals(that.adminRedactionLambdaConfig) : that.adminRedactionLambdaConfig != null) return false;
if (this.adminRoleConfig != null ? !this.adminRoleConfig.equals(that.adminRoleConfig) : that.adminRoleConfig != null) return false;
if (this.billingRedactionLambdaConfig != null ? !this.billingRedactionLambdaConfig.equals(that.billingRedactionLambdaConfig) : that.billingRedactionLambdaConfig != null) return false;
if (this.billingRoleConfig != null ? !this.billingRoleConfig.equals(that.billingRoleConfig) : that.billingRoleConfig != null) return false;
if (this.cusrtSupportRedactionLambdaConfig != null ? !this.cusrtSupportRedactionLambdaConfig.equals(that.cusrtSupportRedactionLambdaConfig) : that.cusrtSupportRedactionLambdaConfig != null) return false;
if (this.custSupportRoleConfig != null ? !this.custSupportRoleConfig.equals(that.custSupportRoleConfig) : that.custSupportRoleConfig != null) return false;
if (this.exampleFileDir != null ? !this.exampleFileDir.equals(that.exampleFileDir) : that.exampleFileDir != null) return false;
if (this.generalRoleConfig != null ? !this.generalRoleConfig.equals(that.generalRoleConfig) : that.generalRoleConfig != null) return false;
if (this.generateRandomCharacters != null ? !this.generateRandomCharacters.equals(that.generateRandomCharacters) : that.generateRandomCharacters != null) return false;
if (this.s3AccessPointNames != null ? !this.s3AccessPointNames.equals(that.s3AccessPointNames) : that.s3AccessPointNames != null) return false;
if (this.surveyBucketPrefix != null ? !this.surveyBucketPrefix.equals(that.surveyBucketPrefix) : that.surveyBucketPrefix != null) return false;
return this.transcriptsBucketPrefix != null ? this.transcriptsBucketPrefix.equals(that.transcriptsBucketPrefix) : that.transcriptsBucketPrefix == null;
}
@Override
public final int hashCode() {
int result = this.accessControlLambdaConfig != null ? this.accessControlLambdaConfig.hashCode() : 0;
result = 31 * result + (this.adminRedactionLambdaConfig != null ? this.adminRedactionLambdaConfig.hashCode() : 0);
result = 31 * result + (this.adminRoleConfig != null ? this.adminRoleConfig.hashCode() : 0);
result = 31 * result + (this.billingRedactionLambdaConfig != null ? this.billingRedactionLambdaConfig.hashCode() : 0);
result = 31 * result + (this.billingRoleConfig != null ? this.billingRoleConfig.hashCode() : 0);
result = 31 * result + (this.cusrtSupportRedactionLambdaConfig != null ? this.cusrtSupportRedactionLambdaConfig.hashCode() : 0);
result = 31 * result + (this.custSupportRoleConfig != null ? this.custSupportRoleConfig.hashCode() : 0);
result = 31 * result + (this.exampleFileDir != null ? this.exampleFileDir.hashCode() : 0);
result = 31 * result + (this.generalRoleConfig != null ? this.generalRoleConfig.hashCode() : 0);
result = 31 * result + (this.generateRandomCharacters != null ? this.generateRandomCharacters.hashCode() : 0);
result = 31 * result + (this.s3AccessPointNames != null ? this.s3AccessPointNames.hashCode() : 0);
result = 31 * result + (this.surveyBucketPrefix != null ? this.surveyBucketPrefix.hashCode() : 0);
result = 31 * result + (this.transcriptsBucketPrefix != null ? this.transcriptsBucketPrefix.hashCode() : 0);
return result;
}
}
}