Class CodeBuildBuildPhaseChange.Artifact.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codebuild.events.CodeBuildBuildPhaseChange.Artifact.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CodeBuildBuildPhaseChange.Artifact>
- Enclosing interface:
CodeBuildBuildPhaseChange.Artifact
@Stability(Experimental)
public static final class CodeBuildBuildPhaseChange.Artifact.Builder
extends Object
implements software.amazon.jsii.Builder<CodeBuildBuildPhaseChange.Artifact>
A builder for
CodeBuildBuildPhaseChange.Artifact-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCodeBuildBuildPhaseChange.Artifact.getLocation()Sets the value ofCodeBuildBuildPhaseChange.Artifact.getMd5Sum()Sets the value ofCodeBuildBuildPhaseChange.Artifact.getSha256Sum()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
location
@Stability(Experimental) public CodeBuildBuildPhaseChange.Artifact.Builder location(List<String> location) Sets the value ofCodeBuildBuildPhaseChange.Artifact.getLocation()- Parameters:
location- location property. Specify an array of string values to match this event if the actual value of location is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
md5Sum
@Stability(Experimental) public CodeBuildBuildPhaseChange.Artifact.Builder md5Sum(List<String> md5Sum) Sets the value ofCodeBuildBuildPhaseChange.Artifact.getMd5Sum()- Parameters:
md5Sum- md5sum property. Specify an array of string values to match this event if the actual value of md5sum is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
sha256Sum
@Stability(Experimental) public CodeBuildBuildPhaseChange.Artifact.Builder sha256Sum(List<String> sha256Sum) Sets the value ofCodeBuildBuildPhaseChange.Artifact.getSha256Sum()- Parameters:
sha256Sum- sha256sum property. Specify an array of string values to match this event if the actual value of sha256sum is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CodeBuildBuildPhaseChange.Artifact>- Returns:
- a new instance of
CodeBuildBuildPhaseChange.Artifact - Throws:
NullPointerException- if any required attribute was not provided
-