Class ProjectEvents.CodeBuildBuildStateChange.NetworkInterface.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codebuild.events.ProjectEvents.CodeBuildBuildStateChange.NetworkInterface.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ProjectEvents.CodeBuildBuildStateChange.NetworkInterface>
- Enclosing interface:
ProjectEvents.CodeBuildBuildStateChange.NetworkInterface
@Stability(Experimental)
public static final class ProjectEvents.CodeBuildBuildStateChange.NetworkInterface.Builder
extends Object
implements software.amazon.jsii.Builder<ProjectEvents.CodeBuildBuildStateChange.NetworkInterface>
A builder for
ProjectEvents.CodeBuildBuildStateChange.NetworkInterface-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofProjectEvents.CodeBuildBuildStateChange.NetworkInterface.getEniId()Sets the value ofProjectEvents.CodeBuildBuildStateChange.NetworkInterface.getSubnetId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eniId
@Stability(Experimental) public ProjectEvents.CodeBuildBuildStateChange.NetworkInterface.Builder eniId(List<String> eniId) Sets the value ofProjectEvents.CodeBuildBuildStateChange.NetworkInterface.getEniId()- Parameters:
eniId- eni-id property. Specify an array of string values to match this event if the actual value of eni-id 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.NetworkInterface.Builder subnetId(List<String> subnetId) Sets the value ofProjectEvents.CodeBuildBuildStateChange.NetworkInterface.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.NetworkInterface>- Returns:
- a new instance of
ProjectEvents.CodeBuildBuildStateChange.NetworkInterface - Throws:
NullPointerException- if any required attribute was not provided
-