Class CodeBuildBuildPhaseChange.EnvironmentItem.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codebuild.events.CodeBuildBuildPhaseChange.EnvironmentItem.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CodeBuildBuildPhaseChange.EnvironmentItem>
- Enclosing interface:
CodeBuildBuildPhaseChange.EnvironmentItem
@Stability(Experimental)
public static final class CodeBuildBuildPhaseChange.EnvironmentItem.Builder
extends Object
implements software.amazon.jsii.Builder<CodeBuildBuildPhaseChange.EnvironmentItem>
A builder for
CodeBuildBuildPhaseChange.EnvironmentItem-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCodeBuildBuildPhaseChange.EnvironmentItem.getName()Sets the value ofCodeBuildBuildPhaseChange.EnvironmentItem.getType()Sets the value ofCodeBuildBuildPhaseChange.EnvironmentItem.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
@Stability(Experimental) public CodeBuildBuildPhaseChange.EnvironmentItem.Builder name(List<String> name) Sets the value ofCodeBuildBuildPhaseChange.EnvironmentItem.getName()- Parameters:
name- name property. Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
type
@Stability(Experimental) public CodeBuildBuildPhaseChange.EnvironmentItem.Builder type(List<String> type) Sets the value ofCodeBuildBuildPhaseChange.EnvironmentItem.getType()- Parameters:
type- type property. Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
value
@Stability(Experimental) public CodeBuildBuildPhaseChange.EnvironmentItem.Builder value(List<String> value) Sets the value ofCodeBuildBuildPhaseChange.EnvironmentItem.getValue()- Parameters:
value- value property. Specify an array of string values to match this event if the actual value of value 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.EnvironmentItem>- Returns:
- a new instance of
CodeBuildBuildPhaseChange.EnvironmentItem - Throws:
NullPointerException- if any required attribute was not provided
-