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