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