Class CfnApplicationV2.MavenReferenceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalytics.CfnApplicationV2.MavenReferenceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationV2.MavenReferenceProperty>
- Enclosing interface:
CfnApplicationV2.MavenReferenceProperty
@Stability(Stable)
public static final class CfnApplicationV2.MavenReferenceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationV2.MavenReferenceProperty>
A builder for
CfnApplicationV2.MavenReferenceProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionartifactId
(String artifactId) Sets the value ofCfnApplicationV2.MavenReferenceProperty.getArtifactId()
build()
Builds the configured instance.Sets the value ofCfnApplicationV2.MavenReferenceProperty.getGroupId()
Sets the value ofCfnApplicationV2.MavenReferenceProperty.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
artifactId
@Stability(Stable) public CfnApplicationV2.MavenReferenceProperty.Builder artifactId(String artifactId) Sets the value ofCfnApplicationV2.MavenReferenceProperty.getArtifactId()
- Parameters:
artifactId
- The artifact ID of the Maven reference. This parameter is required.- Returns:
this
-
groupId
Sets the value ofCfnApplicationV2.MavenReferenceProperty.getGroupId()
- Parameters:
groupId
- The group ID of the Maven reference. This parameter is required.- Returns:
this
-
version
Sets the value ofCfnApplicationV2.MavenReferenceProperty.getVersion()
- Parameters:
version
- The version of the Maven reference. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplicationV2.MavenReferenceProperty>
- Returns:
- a new instance of
CfnApplicationV2.MavenReferenceProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-