public static final class CfnApplicationV2.CustomArtifactConfigurationProperty.Builder
extends java.lang.Object
CfnApplicationV2.CustomArtifactConfigurationProperty
Constructor and Description |
---|
Builder() |
public CfnApplicationV2.CustomArtifactConfigurationProperty.Builder artifactType(java.lang.String artifactType)
CfnApplicationV2.CustomArtifactConfigurationProperty.getArtifactType()
artifactType
- Set this to either `UDF` or `DEPENDENCY_JAR` . This parameter is required.
UDF
stands for user-defined functions. This type of artifact must be in an S3 bucket. A DEPENDENCY_JAR
can be in either Maven or an S3 bucket.this
public CfnApplicationV2.CustomArtifactConfigurationProperty.Builder mavenReference(IResolvable mavenReference)
CfnApplicationV2.CustomArtifactConfigurationProperty.getMavenReference()
mavenReference
- The parameters required to fully specify a Maven reference.this
public CfnApplicationV2.CustomArtifactConfigurationProperty.Builder mavenReference(CfnApplicationV2.MavenReferenceProperty mavenReference)
CfnApplicationV2.CustomArtifactConfigurationProperty.getMavenReference()
mavenReference
- The parameters required to fully specify a Maven reference.this
public CfnApplicationV2.CustomArtifactConfigurationProperty.Builder s3ContentLocation(IResolvable s3ContentLocation)
s3ContentLocation
- The location of the custom artifacts.this
public CfnApplicationV2.CustomArtifactConfigurationProperty.Builder s3ContentLocation(CfnApplicationV2.S3ContentLocationProperty s3ContentLocation)
s3ContentLocation
- The location of the custom artifacts.this
public CfnApplicationV2.CustomArtifactConfigurationProperty build()
CfnApplicationV2.CustomArtifactConfigurationProperty
java.lang.NullPointerException
- if any required attribute was not provided