Package io.github.cdklabs.projen.java
Class ParentPom.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.java.ParentPom.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParentPom.BuilderartifactId(String artifactId)Sets the value ofParentPom.getArtifactId()ParentPombuild()Builds the configured instance.ParentPom.BuildergroupId(String groupId)Sets the value ofParentPom.getGroupId()ParentPom.BuilderrelativePath(String relativePath)Sets the value ofParentPom.getRelativePath()ParentPom.Builderversion(String version)Sets the value ofParentPom.getVersion()
-
-
-
Method Detail
-
artifactId
@Stability(Experimental) public ParentPom.Builder artifactId(String artifactId)
Sets the value ofParentPom.getArtifactId()- Parameters:
artifactId- Parent Pom Artifact ID.- Returns:
this
-
groupId
@Stability(Experimental) public ParentPom.Builder groupId(String groupId)
Sets the value ofParentPom.getGroupId()- Parameters:
groupId- Parent Pom Group ID.- Returns:
this
-
relativePath
@Stability(Experimental) public ParentPom.Builder relativePath(String relativePath)
Sets the value ofParentPom.getRelativePath()- Parameters:
relativePath- Parent Pom Relative path from the current pom.- Returns:
this
-
version
@Stability(Experimental) public ParentPom.Builder version(String version)
Sets the value ofParentPom.getVersion()- Parameters:
version- Parent Pom Version.- Returns:
this
-
build
@Stability(Experimental) public ParentPom build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ParentPom>- Returns:
- a new instance of
ParentPom - Throws:
NullPointerException- if any required attribute was not provided
-
-