Class CfnApplicationV2.CustomArtifactConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalytics.CfnApplicationV2.CustomArtifactConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationV2.CustomArtifactConfigurationProperty>
- Enclosing interface:
CfnApplicationV2.CustomArtifactConfigurationProperty
@Stability(Stable)
public static final class CfnApplicationV2.CustomArtifactConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationV2.CustomArtifactConfigurationProperty>
A builder for
CfnApplicationV2.CustomArtifactConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionartifactType
(String artifactType) Sets the value ofCfnApplicationV2.CustomArtifactConfigurationProperty.getArtifactType()
build()
Builds the configured instance.mavenReference
(IResolvable mavenReference) Sets the value ofCfnApplicationV2.CustomArtifactConfigurationProperty.getMavenReference()
mavenReference
(CfnApplicationV2.MavenReferenceProperty mavenReference) Sets the value ofCfnApplicationV2.CustomArtifactConfigurationProperty.getMavenReference()
s3ContentLocation
(IResolvable s3ContentLocation) s3ContentLocation
(CfnApplicationV2.S3ContentLocationProperty s3ContentLocation)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
artifactType
@Stability(Stable) public CfnApplicationV2.CustomArtifactConfigurationProperty.Builder artifactType(String artifactType) Sets the value ofCfnApplicationV2.CustomArtifactConfigurationProperty.getArtifactType()
- Parameters:
artifactType
- Set this to eitherUDF
orDEPENDENCY_JAR
. This parameter is required.UDF
stands for user-defined functions. This type of artifact must be in an S3 bucket. ADEPENDENCY_JAR
can be in either Maven or an S3 bucket.- Returns:
this
-
mavenReference
@Stability(Stable) public CfnApplicationV2.CustomArtifactConfigurationProperty.Builder mavenReference(IResolvable mavenReference) Sets the value ofCfnApplicationV2.CustomArtifactConfigurationProperty.getMavenReference()
- Parameters:
mavenReference
- The parameters required to fully specify a Maven reference.- Returns:
this
-
mavenReference
@Stability(Stable) public CfnApplicationV2.CustomArtifactConfigurationProperty.Builder mavenReference(CfnApplicationV2.MavenReferenceProperty mavenReference) Sets the value ofCfnApplicationV2.CustomArtifactConfigurationProperty.getMavenReference()
- Parameters:
mavenReference
- The parameters required to fully specify a Maven reference.- Returns:
this
-
s3ContentLocation
@Stability(Stable) public CfnApplicationV2.CustomArtifactConfigurationProperty.Builder s3ContentLocation(IResolvable s3ContentLocation) - Parameters:
s3ContentLocation
- The location of the custom artifacts.- Returns:
this
-
s3ContentLocation
@Stability(Stable) public CfnApplicationV2.CustomArtifactConfigurationProperty.Builder s3ContentLocation(CfnApplicationV2.S3ContentLocationProperty s3ContentLocation) - Parameters:
s3ContentLocation
- The location of the custom artifacts.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplicationV2.CustomArtifactConfigurationProperty>
- Returns:
- a new instance of
CfnApplicationV2.CustomArtifactConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-