All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.textract.idp.TextractPdfMapperForFhirProps Maven / Gradle / Ivy

There is a newer version: 0.0.43
Show newest version
package software.amazon.textract.idp;

/**
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.90.0 (build d6bdb4d)", date = "2023-10-26T15:43:30.381Z")
@software.amazon.jsii.Jsii(module = software.amazon.textract.idp.$Module.class, fqn = "amazon-textract-idp-cdk-constructs.TextractPdfMapperForFhirProps")
@software.amazon.jsii.Jsii.Proxy(TextractPdfMapperForFhirProps.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public interface TextractPdfMapperForFhirProps extends software.amazon.jsii.JsiiSerializable {

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    default @org.jetbrains.annotations.Nullable java.lang.String getHealthlakeEndpoint() {
        return null;
    }

    /**
     * List of PolicyStatements to attach to the Lambda function for S3 GET and LIST.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    default @org.jetbrains.annotations.Nullable java.util.List getInputPolicyStatements() {
        return null;
    }

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    default @org.jetbrains.annotations.Nullable java.lang.String getLambdaLogLevel() {
        return null;
    }

    /**
     * memory of Lambda function (may need to increase for larger documents).
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    default @org.jetbrains.annotations.Nullable java.lang.Number getLambdaMemoryMB() {
        return null;
    }

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    default @org.jetbrains.annotations.Nullable java.lang.Number getLambdaTimeout() {
        return null;
    }

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    default @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.lambda.IFunction getPdfMapperForFhirFunction() {
        return null;
    }

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    default @org.jetbrains.annotations.Nullable java.lang.String getS3InputBucket() {
        return null;
    }

    /**
     * prefix for the incoming document.
     * 

* Will be used to create role */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable java.lang.String getS3InputPrefix() { return null; } /** * @return a {@link Builder} of {@link TextractPdfMapperForFhirProps} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) static Builder builder() { return new Builder(); } /** * A builder for {@link TextractPdfMapperForFhirProps} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static final class Builder implements software.amazon.jsii.Builder { java.lang.String healthlakeEndpoint; java.util.List inputPolicyStatements; java.lang.String lambdaLogLevel; java.lang.Number lambdaMemoryMb; java.lang.Number lambdaTimeout; software.amazon.awscdk.services.lambda.IFunction pdfMapperForFhirFunction; java.lang.String s3InputBucket; java.lang.String s3InputPrefix; /** * Sets the value of {@link TextractPdfMapperForFhirProps#getHealthlakeEndpoint} * @param healthlakeEndpoint the value to be set. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder healthlakeEndpoint(java.lang.String healthlakeEndpoint) { this.healthlakeEndpoint = healthlakeEndpoint; return this; } /** * Sets the value of {@link TextractPdfMapperForFhirProps#getInputPolicyStatements} * @param inputPolicyStatements List of PolicyStatements to attach to the Lambda function for S3 GET and LIST. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @SuppressWarnings("unchecked") public Builder inputPolicyStatements(java.util.List inputPolicyStatements) { this.inputPolicyStatements = (java.util.List)inputPolicyStatements; return this; } /** * Sets the value of {@link TextractPdfMapperForFhirProps#getLambdaLogLevel} * @param lambdaLogLevel the value to be set. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder lambdaLogLevel(java.lang.String lambdaLogLevel) { this.lambdaLogLevel = lambdaLogLevel; return this; } /** * Sets the value of {@link TextractPdfMapperForFhirProps#getLambdaMemoryMb} * @param lambdaMemoryMb memory of Lambda function (may need to increase for larger documents). * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder lambdaMemoryMb(java.lang.Number lambdaMemoryMb) { this.lambdaMemoryMb = lambdaMemoryMb; return this; } /** * Sets the value of {@link TextractPdfMapperForFhirProps#getLambdaTimeout} * @param lambdaTimeout the value to be set. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder lambdaTimeout(java.lang.Number lambdaTimeout) { this.lambdaTimeout = lambdaTimeout; return this; } /** * Sets the value of {@link TextractPdfMapperForFhirProps#getPdfMapperForFhirFunction} * @param pdfMapperForFhirFunction the value to be set. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder pdfMapperForFhirFunction(software.amazon.awscdk.services.lambda.IFunction pdfMapperForFhirFunction) { this.pdfMapperForFhirFunction = pdfMapperForFhirFunction; return this; } /** * Sets the value of {@link TextractPdfMapperForFhirProps#getS3InputBucket} * @param s3InputBucket the value to be set. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder s3InputBucket(java.lang.String s3InputBucket) { this.s3InputBucket = s3InputBucket; return this; } /** * Sets the value of {@link TextractPdfMapperForFhirProps#getS3InputPrefix} * @param s3InputPrefix prefix for the incoming document. * Will be used to create role * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder s3InputPrefix(java.lang.String s3InputPrefix) { this.s3InputPrefix = s3InputPrefix; return this; } /** * Builds the configured instance. * @return a new instance of {@link TextractPdfMapperForFhirProps} * @throws NullPointerException if any required attribute was not provided */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @Override public TextractPdfMapperForFhirProps build() { return new Jsii$Proxy(this); } } /** * An implementation for {@link TextractPdfMapperForFhirProps} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @software.amazon.jsii.Internal final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements TextractPdfMapperForFhirProps { private final java.lang.String healthlakeEndpoint; private final java.util.List inputPolicyStatements; private final java.lang.String lambdaLogLevel; private final java.lang.Number lambdaMemoryMb; private final java.lang.Number lambdaTimeout; private final software.amazon.awscdk.services.lambda.IFunction pdfMapperForFhirFunction; private final java.lang.String s3InputBucket; private final java.lang.String s3InputPrefix; /** * 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.healthlakeEndpoint = software.amazon.jsii.Kernel.get(this, "healthlakeEndpoint", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.inputPolicyStatements = software.amazon.jsii.Kernel.get(this, "inputPolicyStatements", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.iam.PolicyStatement.class))); this.lambdaLogLevel = software.amazon.jsii.Kernel.get(this, "lambdaLogLevel", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.lambdaMemoryMb = software.amazon.jsii.Kernel.get(this, "lambdaMemoryMB", software.amazon.jsii.NativeType.forClass(java.lang.Number.class)); this.lambdaTimeout = software.amazon.jsii.Kernel.get(this, "lambdaTimeout", software.amazon.jsii.NativeType.forClass(java.lang.Number.class)); this.pdfMapperForFhirFunction = software.amazon.jsii.Kernel.get(this, "pdfMapperForFhirFunction", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.lambda.IFunction.class)); this.s3InputBucket = software.amazon.jsii.Kernel.get(this, "s3InputBucket", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.s3InputPrefix = software.amazon.jsii.Kernel.get(this, "s3InputPrefix", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** * Constructor that initializes the object based on literal property values passed by the {@link Builder}. */ @SuppressWarnings("unchecked") protected Jsii$Proxy(final Builder builder) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); this.healthlakeEndpoint = builder.healthlakeEndpoint; this.inputPolicyStatements = (java.util.List)builder.inputPolicyStatements; this.lambdaLogLevel = builder.lambdaLogLevel; this.lambdaMemoryMb = builder.lambdaMemoryMb; this.lambdaTimeout = builder.lambdaTimeout; this.pdfMapperForFhirFunction = builder.pdfMapperForFhirFunction; this.s3InputBucket = builder.s3InputBucket; this.s3InputPrefix = builder.s3InputPrefix; } @Override public final java.lang.String getHealthlakeEndpoint() { return this.healthlakeEndpoint; } @Override public final java.util.List getInputPolicyStatements() { return this.inputPolicyStatements; } @Override public final java.lang.String getLambdaLogLevel() { return this.lambdaLogLevel; } @Override public final java.lang.Number getLambdaMemoryMB() { return this.lambdaMemoryMb; } @Override public final java.lang.Number getLambdaTimeout() { return this.lambdaTimeout; } @Override public final software.amazon.awscdk.services.lambda.IFunction getPdfMapperForFhirFunction() { return this.pdfMapperForFhirFunction; } @Override public final java.lang.String getS3InputBucket() { return this.s3InputBucket; } @Override public final java.lang.String getS3InputPrefix() { return this.s3InputPrefix; } @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.getHealthlakeEndpoint() != null) { data.set("healthlakeEndpoint", om.valueToTree(this.getHealthlakeEndpoint())); } if (this.getInputPolicyStatements() != null) { data.set("inputPolicyStatements", om.valueToTree(this.getInputPolicyStatements())); } if (this.getLambdaLogLevel() != null) { data.set("lambdaLogLevel", om.valueToTree(this.getLambdaLogLevel())); } if (this.getLambdaMemoryMB() != null) { data.set("lambdaMemoryMB", om.valueToTree(this.getLambdaMemoryMB())); } if (this.getLambdaTimeout() != null) { data.set("lambdaTimeout", om.valueToTree(this.getLambdaTimeout())); } if (this.getPdfMapperForFhirFunction() != null) { data.set("pdfMapperForFhirFunction", om.valueToTree(this.getPdfMapperForFhirFunction())); } if (this.getS3InputBucket() != null) { data.set("s3InputBucket", om.valueToTree(this.getS3InputBucket())); } if (this.getS3InputPrefix() != null) { data.set("s3InputPrefix", om.valueToTree(this.getS3InputPrefix())); } final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); struct.set("fqn", om.valueToTree("amazon-textract-idp-cdk-constructs.TextractPdfMapperForFhirProps")); 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; TextractPdfMapperForFhirProps.Jsii$Proxy that = (TextractPdfMapperForFhirProps.Jsii$Proxy) o; if (this.healthlakeEndpoint != null ? !this.healthlakeEndpoint.equals(that.healthlakeEndpoint) : that.healthlakeEndpoint != null) return false; if (this.inputPolicyStatements != null ? !this.inputPolicyStatements.equals(that.inputPolicyStatements) : that.inputPolicyStatements != null) return false; if (this.lambdaLogLevel != null ? !this.lambdaLogLevel.equals(that.lambdaLogLevel) : that.lambdaLogLevel != null) return false; if (this.lambdaMemoryMb != null ? !this.lambdaMemoryMb.equals(that.lambdaMemoryMb) : that.lambdaMemoryMb != null) return false; if (this.lambdaTimeout != null ? !this.lambdaTimeout.equals(that.lambdaTimeout) : that.lambdaTimeout != null) return false; if (this.pdfMapperForFhirFunction != null ? !this.pdfMapperForFhirFunction.equals(that.pdfMapperForFhirFunction) : that.pdfMapperForFhirFunction != null) return false; if (this.s3InputBucket != null ? !this.s3InputBucket.equals(that.s3InputBucket) : that.s3InputBucket != null) return false; return this.s3InputPrefix != null ? this.s3InputPrefix.equals(that.s3InputPrefix) : that.s3InputPrefix == null; } @Override public final int hashCode() { int result = this.healthlakeEndpoint != null ? this.healthlakeEndpoint.hashCode() : 0; result = 31 * result + (this.inputPolicyStatements != null ? this.inputPolicyStatements.hashCode() : 0); result = 31 * result + (this.lambdaLogLevel != null ? this.lambdaLogLevel.hashCode() : 0); result = 31 * result + (this.lambdaMemoryMb != null ? this.lambdaMemoryMb.hashCode() : 0); result = 31 * result + (this.lambdaTimeout != null ? this.lambdaTimeout.hashCode() : 0); result = 31 * result + (this.pdfMapperForFhirFunction != null ? this.pdfMapperForFhirFunction.hashCode() : 0); result = 31 * result + (this.s3InputBucket != null ? this.s3InputBucket.hashCode() : 0); result = 31 * result + (this.s3InputPrefix != null ? this.s3InputPrefix.hashCode() : 0); return result; } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy