Class ProjectEvents.CodeBuildBuildStateChange.Artifact.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codebuild.events.ProjectEvents.CodeBuildBuildStateChange.Artifact.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ProjectEvents.CodeBuildBuildStateChange.Artifact>
- Enclosing interface:
ProjectEvents.CodeBuildBuildStateChange.Artifact
@Stability(Experimental)
public static final class ProjectEvents.CodeBuildBuildStateChange.Artifact.Builder
extends Object
implements software.amazon.jsii.Builder<ProjectEvents.CodeBuildBuildStateChange.Artifact>
A builder for
ProjectEvents.CodeBuildBuildStateChange.Artifact-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofProjectEvents.CodeBuildBuildStateChange.Artifact.getLocation()Sets the value ofProjectEvents.CodeBuildBuildStateChange.Artifact.getMd5Sum()Sets the value ofProjectEvents.CodeBuildBuildStateChange.Artifact.getSha256Sum()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
location
@Stability(Experimental) public ProjectEvents.CodeBuildBuildStateChange.Artifact.Builder location(List<String> location) Sets the value ofProjectEvents.CodeBuildBuildStateChange.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 ProjectEvents.CodeBuildBuildStateChange.Artifact.Builder md5Sum(List<String> md5Sum) Sets the value ofProjectEvents.CodeBuildBuildStateChange.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 ProjectEvents.CodeBuildBuildStateChange.Artifact.Builder sha256Sum(List<String> sha256Sum) Sets the value ofProjectEvents.CodeBuildBuildStateChange.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<ProjectEvents.CodeBuildBuildStateChange.Artifact>- Returns:
- a new instance of
ProjectEvents.CodeBuildBuildStateChange.Artifact - Throws:
NullPointerException- if any required attribute was not provided
-