Class AWSAPICallViaCloudTrail.AwsvpcConfiguration.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ecs.events.AWSAPICallViaCloudTrail.AwsvpcConfiguration.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.AwsvpcConfiguration>
- Enclosing interface:
AWSAPICallViaCloudTrail.AwsvpcConfiguration
@Stability(Experimental)
public static final class AWSAPICallViaCloudTrail.AwsvpcConfiguration.Builder
extends Object
implements software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.AwsvpcConfiguration>
A builder for
AWSAPICallViaCloudTrail.AwsvpcConfiguration-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassignPublicIp(List<String> assignPublicIp) Sets the value ofAWSAPICallViaCloudTrail.AwsvpcConfiguration.getAssignPublicIp()build()Builds the configured instance.Sets the value ofAWSAPICallViaCloudTrail.AwsvpcConfiguration.getSubnets()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
assignPublicIp
@Stability(Experimental) public AWSAPICallViaCloudTrail.AwsvpcConfiguration.Builder assignPublicIp(List<String> assignPublicIp) Sets the value ofAWSAPICallViaCloudTrail.AwsvpcConfiguration.getAssignPublicIp()- 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 AWSAPICallViaCloudTrail.AwsvpcConfiguration.Builder subnets(List<String> subnets) Sets the value ofAWSAPICallViaCloudTrail.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<AWSAPICallViaCloudTrail.AwsvpcConfiguration>- Returns:
- a new instance of
AWSAPICallViaCloudTrail.AwsvpcConfiguration - Throws:
NullPointerException- if any required attribute was not provided
-