Class InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1Item.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ec2.events.InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1Item.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1Item>
- Enclosing interface:
InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1Item
@Stability(Experimental)
public static final class InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1Item.Builder
extends Object
implements software.amazon.jsii.Builder<InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1Item>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.interfaceType(List<String> interfaceType) ipv6AddressesSet(List<String> ipv6AddressesSet) macAddress(List<String> macAddress) networkInterfaceId(List<String> networkInterfaceId) privateIpAddress(List<String> privateIpAddress) privateIpAddressesSet(InstanceEvents.AWSAPICallViaCloudTrail.PrivateIpAddressesSet2 privateIpAddressesSet) sourceDestCheck(List<String> sourceDestCheck)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attachment
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1Item.Builder attachment(InstanceEvents.AWSAPICallViaCloudTrail.Attachment attachment) - Parameters:
attachment- attachment property. Specify an array of string values to match this event if the actual value of attachment is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
groupSet
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1Item.Builder groupSet(InstanceEvents.AWSAPICallViaCloudTrail.GroupSet3 groupSet) - Parameters:
groupSet- groupSet property. Specify an array of string values to match this event if the actual value of groupSet is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
interfaceType
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1Item.Builder interfaceType(List<String> interfaceType) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1Item.getInterfaceType()- Parameters:
interfaceType- interfaceType property. Specify an array of string values to match this event if the actual value of interfaceType is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
ipv6AddressesSet
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1Item.Builder ipv6AddressesSet(List<String> ipv6AddressesSet) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1Item.getIpv6AddressesSet()- Parameters:
ipv6AddressesSet- ipv6AddressesSet property. Specify an array of string values to match this event if the actual value of ipv6AddressesSet is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
macAddress
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1Item.Builder macAddress(List<String> macAddress) - Parameters:
macAddress- macAddress property. Specify an array of string values to match this event if the actual value of macAddress is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
networkInterfaceId
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1Item.Builder networkInterfaceId(List<String> networkInterfaceId) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1Item.getNetworkInterfaceId()- Parameters:
networkInterfaceId- networkInterfaceId property. Specify an array of string values to match this event if the actual value of networkInterfaceId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
ownerId
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1Item.Builder ownerId(List<String> ownerId) - Parameters:
ownerId- ownerId property. Specify an array of string values to match this event if the actual value of ownerId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
privateIpAddress
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1Item.Builder privateIpAddress(List<String> privateIpAddress) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1Item.getPrivateIpAddress()- Parameters:
privateIpAddress- privateIpAddress property. Specify an array of string values to match this event if the actual value of privateIpAddress is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
privateIpAddressesSet
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1Item.Builder privateIpAddressesSet(InstanceEvents.AWSAPICallViaCloudTrail.PrivateIpAddressesSet2 privateIpAddressesSet) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1Item.getPrivateIpAddressesSet()- Parameters:
privateIpAddressesSet- privateIpAddressesSet property. Specify an array of string values to match this event if the actual value of privateIpAddressesSet is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
sourceDestCheck
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1Item.Builder sourceDestCheck(List<String> sourceDestCheck) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1Item.getSourceDestCheck()- Parameters:
sourceDestCheck- sourceDestCheck property. Specify an array of string values to match this event if the actual value of sourceDestCheck is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
status
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1Item.Builder status(List<String> status) - Parameters:
status- status property. Specify an array of string values to match this event if the actual value of status 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.NetworkInterfaceSet1Item.Builder subnetId(List<String> subnetId) - 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
-
tagSet
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1Item.Builder tagSet(List<String> tagSet) - Parameters:
tagSet- tagSet property. Specify an array of string values to match this event if the actual value of tagSet is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
vpcId
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1Item.Builder vpcId(List<String> vpcId) - Parameters:
vpcId- vpcId property. Specify an array of string values to match this event if the actual value of vpcId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1Item build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1Item>- Returns:
- a new instance of
InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet1Item - Throws:
NullPointerException- if any required attribute was not provided
-