Class InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ec2.events.InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface>
- Enclosing interface:
InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface
@Stability(Experimental)
public static final class InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface.Builder
extends Object
implements software.amazon.jsii.Builder<InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface>
A builder for
InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone(List<String> availabilityZone) build()Builds the configured instance.description(List<String> description) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface.getDescription()Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface.getGroupSet()interfaceType(List<String> interfaceType) ipv6AddressesSet(List<String> ipv6AddressesSet) macAddress(List<String> macAddress) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface.getMacAddress()networkInterfaceId(List<String> networkInterfaceId) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface.getOwnerId()privateIpAddress(List<String> privateIpAddress) privateIpAddressesSet(InstanceEvents.AWSAPICallViaCloudTrail.PrivateIpAddressesSet1 privateIpAddressesSet) requesterId(List<String> requesterId) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface.getRequesterId()requesterManaged(List<String> requesterManaged) sourceDestCheck(List<String> sourceDestCheck) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface.getStatus()Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface.getSubnetId()Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface.getTagSet()Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
availabilityZone
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface.Builder availabilityZone(List<String> availabilityZone) - Parameters:
availabilityZone- availabilityZone property. Specify an array of string values to match this event if the actual value of availabilityZone is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
description
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface.Builder description(List<String> description) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface.getDescription()- Parameters:
description- description property. Specify an array of string values to match this event if the actual value of description 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.NetworkInterface.Builder groupSet(InstanceEvents.AWSAPICallViaCloudTrail.GroupSet2 groupSet) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface.getGroupSet()- 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.NetworkInterface.Builder interfaceType(List<String> interfaceType) - 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.NetworkInterface.Builder ipv6AddressesSet(List<String> ipv6AddressesSet) - 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.NetworkInterface.Builder macAddress(List<String> macAddress) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface.getMacAddress()- 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.NetworkInterface.Builder networkInterfaceId(List<String> networkInterfaceId) - 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.NetworkInterface.Builder ownerId(List<String> ownerId) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface.getOwnerId()- 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.NetworkInterface.Builder privateIpAddress(List<String> privateIpAddress) - 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.NetworkInterface.Builder privateIpAddressesSet(InstanceEvents.AWSAPICallViaCloudTrail.PrivateIpAddressesSet1 privateIpAddressesSet) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface.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
-
requesterId
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface.Builder requesterId(List<String> requesterId) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface.getRequesterId()- Parameters:
requesterId- requesterId property. Specify an array of string values to match this event if the actual value of requesterId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
requesterManaged
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface.Builder requesterManaged(List<String> requesterManaged) - Parameters:
requesterManaged- requesterManaged property. Specify an array of string values to match this event if the actual value of requesterManaged 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.NetworkInterface.Builder sourceDestCheck(List<String> sourceDestCheck) - 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.NetworkInterface.Builder status(List<String> status) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface.getStatus()- 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.NetworkInterface.Builder subnetId(List<String> subnetId) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface.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
-
tagSet
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface.Builder tagSet(List<String> tagSet) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface.getTagSet()- 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.NetworkInterface.Builder vpcId(List<String> vpcId) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface.getVpcId()- 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
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface>- Returns:
- a new instance of
InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface - Throws:
NullPointerException- if any required attribute was not provided
-