Class CfnApplication.CustomArtifactConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalyticsv2.CfnApplication.CustomArtifactConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplication.CustomArtifactConfigurationProperty>
- Enclosing interface:
CfnApplication.CustomArtifactConfigurationProperty
@Stability(Stable)
public static final class CfnApplication.CustomArtifactConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplication.CustomArtifactConfigurationProperty>
A builder for
CfnApplication.CustomArtifactConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionartifactType
(String artifactType) Sets the value ofCfnApplication.CustomArtifactConfigurationProperty.getArtifactType()
build()
Builds the configured instance.mavenReference
(IResolvable mavenReference) Sets the value ofCfnApplication.CustomArtifactConfigurationProperty.getMavenReference()
mavenReference
(CfnApplication.MavenReferenceProperty mavenReference) Sets the value ofCfnApplication.CustomArtifactConfigurationProperty.getMavenReference()
s3ContentLocation
(IResolvable s3ContentLocation) s3ContentLocation
(CfnApplication.S3ContentLocationProperty s3ContentLocation)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
artifactType
@Stability(Stable) public CfnApplication.CustomArtifactConfigurationProperty.Builder artifactType(String artifactType) Sets the value ofCfnApplication.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 CfnApplication.CustomArtifactConfigurationProperty.Builder mavenReference(IResolvable mavenReference) Sets the value ofCfnApplication.CustomArtifactConfigurationProperty.getMavenReference()
- Parameters:
mavenReference
- The parameters required to fully specify a Maven reference.- Returns:
this
-
mavenReference
@Stability(Stable) public CfnApplication.CustomArtifactConfigurationProperty.Builder mavenReference(CfnApplication.MavenReferenceProperty mavenReference) Sets the value ofCfnApplication.CustomArtifactConfigurationProperty.getMavenReference()
- Parameters:
mavenReference
- The parameters required to fully specify a Maven reference.- Returns:
this
-
s3ContentLocation
@Stability(Stable) public CfnApplication.CustomArtifactConfigurationProperty.Builder s3ContentLocation(IResolvable s3ContentLocation) - Parameters:
s3ContentLocation
- The location of the custom artifacts.- Returns:
this
-
s3ContentLocation
@Stability(Stable) public CfnApplication.CustomArtifactConfigurationProperty.Builder s3ContentLocation(CfnApplication.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<CfnApplication.CustomArtifactConfigurationProperty>
- Returns:
- a new instance of
CfnApplication.CustomArtifactConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-