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

io.github.hsiehshujeng.cdk.emrserverless.quickdemo.EmrServerlessBucket Maven / Gradle / Ivy

There is a newer version: 2.0.614
Show newest version
package io.github.hsiehshujeng.cdk.emrserverless.quickdemo;

/**
 * Creates a bucket for EMR Serverless applications.
 * 

*

 * const emrServerlessBucket = new EmrServerlessBucket(this, 'EmrServerless');
 * 
*/ @javax.annotation.Generated(value = "jsii-pacmak/1.105.0 (build 0a2adcb)", date = "2024-12-02T01:11:38.396Z") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @software.amazon.jsii.Jsii(module = io.github.hsiehshujeng.cdk.emrserverless.quickdemo.$Module.class, fqn = "cdk-emrserverless-with-delta-lake.EmrServerlessBucket") public class EmrServerlessBucket extends software.constructs.Construct { protected EmrServerlessBucket(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); } protected EmrServerlessBucket(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) { super(initializationMode); } /** * @param scope This parameter is required. * @param name This parameter is required. * @param props */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public EmrServerlessBucket(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String name, final @org.jetbrains.annotations.Nullable io.github.hsiehshujeng.cdk.emrserverless.quickdemo.EmrServerlessBucketProps props) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(name, "name is required"), props }); } /** * @param scope This parameter is required. * @param name This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public EmrServerlessBucket(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String name) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(name, "name is required") }); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.s3.Bucket getBucketEntity() { return software.amazon.jsii.Kernel.get(this, "bucketEntity", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.s3.Bucket.class)); } /** * A fluent builder for {@link io.github.hsiehshujeng.cdk.emrserverless.quickdemo.EmrServerlessBucket}. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static final class Builder implements software.amazon.jsii.Builder { /** * @return a new instance of {@link Builder}. * @param scope This parameter is required. * @param name This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static Builder create(final software.constructs.Construct scope, final java.lang.String name) { return new Builder(scope, name); } private final software.constructs.Construct scope; private final java.lang.String name; private io.github.hsiehshujeng.cdk.emrserverless.quickdemo.EmrServerlessBucketProps.Builder props; private Builder(final software.constructs.Construct scope, final java.lang.String name) { this.scope = scope; this.name = name; } /** * The bucket name for EMR Serverless applications. *

* Default: - 'emr-serverless-AWS::AccountId' *

* @return {@code this} * @param bucketName The bucket name for EMR Serverless applications. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder bucketName(final java.lang.String bucketName) { this.props().bucketName(bucketName); return this; } /** * Policy to apply when the bucket is removed from this stack. *

* Default: - The bucket will be deleted. *

* @return {@code this} * @param removalPolicy Policy to apply when the bucket is removed from this stack. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder removalPolicy(final software.amazon.awscdk.RemovalPolicy removalPolicy) { this.props().removalPolicy(removalPolicy); return this; } /** * @return a newly built instance of {@link io.github.hsiehshujeng.cdk.emrserverless.quickdemo.EmrServerlessBucket}. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @Override public io.github.hsiehshujeng.cdk.emrserverless.quickdemo.EmrServerlessBucket build() { return new io.github.hsiehshujeng.cdk.emrserverless.quickdemo.EmrServerlessBucket( this.scope, this.name, this.props != null ? this.props.build() : null ); } private io.github.hsiehshujeng.cdk.emrserverless.quickdemo.EmrServerlessBucketProps.Builder props() { if (this.props == null) { this.props = new io.github.hsiehshujeng.cdk.emrserverless.quickdemo.EmrServerlessBucketProps.Builder(); } return this.props; } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy