Class AWSAPICallViaCloudTrail.NetworkInterface.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ec2.events.AWSAPICallViaCloudTrail.NetworkInterface.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.NetworkInterface>
- Enclosing interface:
AWSAPICallViaCloudTrail.NetworkInterface
@Stability(Experimental)
public static final class AWSAPICallViaCloudTrail.NetworkInterface.Builder
extends Object
implements software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.NetworkInterface>
A builder for
AWSAPICallViaCloudTrail.NetworkInterface-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone(List<String> availabilityZone) Sets the value ofAWSAPICallViaCloudTrail.NetworkInterface.getAvailabilityZone()build()Builds the configured instance.description(List<String> description) Sets the value ofAWSAPICallViaCloudTrail.NetworkInterface.getDescription()groupSet(AWSAPICallViaCloudTrail.GroupSet2 groupSet) Sets the value ofAWSAPICallViaCloudTrail.NetworkInterface.getGroupSet()interfaceType(List<String> interfaceType) Sets the value ofAWSAPICallViaCloudTrail.NetworkInterface.getInterfaceType()ipv6AddressesSet(List<String> ipv6AddressesSet) Sets the value ofAWSAPICallViaCloudTrail.NetworkInterface.getIpv6AddressesSet()macAddress(List<String> macAddress) Sets the value ofAWSAPICallViaCloudTrail.NetworkInterface.getMacAddress()networkInterfaceId(List<String> networkInterfaceId) Sets the value ofAWSAPICallViaCloudTrail.NetworkInterface.getNetworkInterfaceId()Sets the value ofAWSAPICallViaCloudTrail.NetworkInterface.getOwnerId()privateIpAddress(List<String> privateIpAddress) Sets the value ofAWSAPICallViaCloudTrail.NetworkInterface.getPrivateIpAddress()privateIpAddressesSet(AWSAPICallViaCloudTrail.PrivateIpAddressesSet1 privateIpAddressesSet) Sets the value ofAWSAPICallViaCloudTrail.NetworkInterface.getPrivateIpAddressesSet()requesterId(List<String> requesterId) Sets the value ofAWSAPICallViaCloudTrail.NetworkInterface.getRequesterId()requesterManaged(List<String> requesterManaged) Sets the value ofAWSAPICallViaCloudTrail.NetworkInterface.getRequesterManaged()sourceDestCheck(List<String> sourceDestCheck) Sets the value ofAWSAPICallViaCloudTrail.NetworkInterface.getSourceDestCheck()Sets the value ofAWSAPICallViaCloudTrail.NetworkInterface.getStatus()Sets the value ofAWSAPICallViaCloudTrail.NetworkInterface.getSubnetId()Sets the value ofAWSAPICallViaCloudTrail.NetworkInterface.getTagSet()Sets the value ofAWSAPICallViaCloudTrail.NetworkInterface.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
availabilityZone
@Stability(Experimental) public AWSAPICallViaCloudTrail.NetworkInterface.Builder availabilityZone(List<String> availabilityZone) Sets the value ofAWSAPICallViaCloudTrail.NetworkInterface.getAvailabilityZone()- 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 AWSAPICallViaCloudTrail.NetworkInterface.Builder description(List<String> description) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.NetworkInterface.Builder groupSet(AWSAPICallViaCloudTrail.GroupSet2 groupSet) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.NetworkInterface.Builder interfaceType(List<String> interfaceType) Sets the value ofAWSAPICallViaCloudTrail.NetworkInterface.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 AWSAPICallViaCloudTrail.NetworkInterface.Builder ipv6AddressesSet(List<String> ipv6AddressesSet) Sets the value ofAWSAPICallViaCloudTrail.NetworkInterface.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 AWSAPICallViaCloudTrail.NetworkInterface.Builder macAddress(List<String> macAddress) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.NetworkInterface.Builder networkInterfaceId(List<String> networkInterfaceId) Sets the value ofAWSAPICallViaCloudTrail.NetworkInterface.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 AWSAPICallViaCloudTrail.NetworkInterface.Builder ownerId(List<String> ownerId) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.NetworkInterface.Builder privateIpAddress(List<String> privateIpAddress) Sets the value ofAWSAPICallViaCloudTrail.NetworkInterface.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 AWSAPICallViaCloudTrail.NetworkInterface.Builder privateIpAddressesSet(AWSAPICallViaCloudTrail.PrivateIpAddressesSet1 privateIpAddressesSet) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.NetworkInterface.Builder requesterId(List<String> requesterId) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.NetworkInterface.Builder requesterManaged(List<String> requesterManaged) Sets the value ofAWSAPICallViaCloudTrail.NetworkInterface.getRequesterManaged()- 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 AWSAPICallViaCloudTrail.NetworkInterface.Builder sourceDestCheck(List<String> sourceDestCheck) Sets the value ofAWSAPICallViaCloudTrail.NetworkInterface.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 AWSAPICallViaCloudTrail.NetworkInterface.Builder status(List<String> status) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.NetworkInterface.Builder subnetId(List<String> subnetId) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.NetworkInterface.Builder tagSet(List<String> tagSet) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.NetworkInterface.Builder vpcId(List<String> vpcId) Sets the value ofAWSAPICallViaCloudTrail.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<AWSAPICallViaCloudTrail.NetworkInterface>- Returns:
- a new instance of
AWSAPICallViaCloudTrail.NetworkInterface - Throws:
NullPointerException- if any required attribute was not provided
-