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