Package io.github.cdklabs.projen.github
Class UploadGitPatchOptions.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.github.UploadGitPatchOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<UploadGitPatchOptions>
- Enclosing interface:
- UploadGitPatchOptions
@Stability(Experimental) public static final class UploadGitPatchOptions.Builder extends Object implements software.amazon.jsii.Builder<UploadGitPatchOptions>
A builder forUploadGitPatchOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UploadGitPatchOptionsbuild()Builds the configured instance.UploadGitPatchOptions.BuildermutationError(String mutationError)Sets the value ofUploadGitPatchOptions.getMutationError()UploadGitPatchOptions.BuilderoutputName(String outputName)Sets the value ofUploadGitPatchOptions.getOutputName()UploadGitPatchOptions.BuilderpatchFile(String patchFile)Sets the value ofUploadGitPatchOptions.getPatchFile()UploadGitPatchOptions.BuilderstepId(String stepId)Sets the value ofUploadGitPatchOptions.getStepId()UploadGitPatchOptions.BuilderstepName(String stepName)Sets the value ofUploadGitPatchOptions.getStepName()
-
-
-
Method Detail
-
outputName
@Stability(Experimental) public UploadGitPatchOptions.Builder outputName(String outputName)
Sets the value ofUploadGitPatchOptions.getOutputName()- Parameters:
outputName- The name of the output to emit. This parameter is required. It will be set totrueif there was a diff.- Returns:
this
-
stepId
@Stability(Experimental) public UploadGitPatchOptions.Builder stepId(String stepId)
Sets the value ofUploadGitPatchOptions.getStepId()- Parameters:
stepId- The step ID which produces the output which indicates if a patch was created. This parameter is required.- Returns:
this
-
mutationError
@Stability(Experimental) public UploadGitPatchOptions.Builder mutationError(String mutationError)
Sets the value ofUploadGitPatchOptions.getMutationError()- Parameters:
mutationError- Fail if a mutation was found and print this error message.- Returns:
this
-
patchFile
@Stability(Experimental) public UploadGitPatchOptions.Builder patchFile(String patchFile)
Sets the value ofUploadGitPatchOptions.getPatchFile()- Parameters:
patchFile- The name of the artifact the patch is stored as.- Returns:
this
-
stepName
@Stability(Experimental) public UploadGitPatchOptions.Builder stepName(String stepName)
Sets the value ofUploadGitPatchOptions.getStepName()- Parameters:
stepName- The name of the step.- Returns:
this
-
build
@Stability(Experimental) public UploadGitPatchOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<UploadGitPatchOptions>- Returns:
- a new instance of
UploadGitPatchOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-