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