Class ClusterEvents.AWSAPICallViaCloudTrail.AwsvpcConfiguration.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ecs.events.ClusterEvents.AWSAPICallViaCloudTrail.AwsvpcConfiguration.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ClusterEvents.AWSAPICallViaCloudTrail.AwsvpcConfiguration>
- Enclosing interface:
ClusterEvents.AWSAPICallViaCloudTrail.AwsvpcConfiguration
@Stability(Experimental)
public static final class ClusterEvents.AWSAPICallViaCloudTrail.AwsvpcConfiguration.Builder
extends Object
implements software.amazon.jsii.Builder<ClusterEvents.AWSAPICallViaCloudTrail.AwsvpcConfiguration>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassignPublicIp(List<String> assignPublicIp) build()Builds the configured instance.Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.AwsvpcConfiguration.getSubnets()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
assignPublicIp
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.AwsvpcConfiguration.Builder assignPublicIp(List<String> assignPublicIp) - Parameters:
assignPublicIp- assignPublicIp property. Specify an array of string values to match this event if the actual value of assignPublicIp is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
subnets
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.AwsvpcConfiguration.Builder subnets(List<String> subnets) Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.AwsvpcConfiguration.getSubnets()- Parameters:
subnets- subnets property. Specify an array of string values to match this event if the actual value of subnets 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<ClusterEvents.AWSAPICallViaCloudTrail.AwsvpcConfiguration>- Returns:
- a new instance of
ClusterEvents.AWSAPICallViaCloudTrail.AwsvpcConfiguration - Throws:
NullPointerException- if any required attribute was not provided
-