Class InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ec2.events.InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters>
- Enclosing interface:
InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters
@Stability(Experimental)
public static final class InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder
extends Object
implements software.amazon.jsii.Builder<InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters>
A builder for
InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone(List<String> availabilityZone) blockDeviceMapping(List<String> blockDeviceMapping) build()Builds the configured instance.clientToken(List<String> clientToken) createFleetRequest(InstanceEvents.AWSAPICallViaCloudTrail.CreateFleetRequest createFleetRequest) createLaunchTemplateRequest(InstanceEvents.AWSAPICallViaCloudTrail.CreateLaunchTemplateRequest createLaunchTemplateRequest) deleteLaunchTemplateRequest(InstanceEvents.AWSAPICallViaCloudTrail.DeleteLaunchTemplateRequest deleteLaunchTemplateRequest) description(List<String> description) disableApiTermination(List<String> disableApiTermination) groupDescription(List<String> groupDescription) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.getGroupId()Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.getGroupName()Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.getGroupSet()instanceMarketOptions(InstanceEvents.AWSAPICallViaCloudTrail.InstanceMarketOptions instanceMarketOptions) instanceType(List<String> instanceType) ipv6AddressCount(List<String> ipv6AddressCount) launchTemplate(InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplate launchTemplate) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.getMonitoring()networkInterfaceId(List<String> networkInterfaceId) networkInterfaceSet(InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet networkInterfaceSet) privateIpAddressesSet(List<String> privateIpAddressesSet) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.getSubnetId()tagSpecificationSet(InstanceEvents.AWSAPICallViaCloudTrail.TagSpecificationSet tagSpecificationSet) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.getUserData()Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
availabilityZone
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.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
-
blockDeviceMapping
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder blockDeviceMapping(List<String> blockDeviceMapping) - Parameters:
blockDeviceMapping- blockDeviceMapping property. Specify an array of string values to match this event if the actual value of blockDeviceMapping is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
clientToken
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder clientToken(List<String> clientToken) - Parameters:
clientToken- clientToken property. Specify an array of string values to match this event if the actual value of clientToken is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
createFleetRequest
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder createFleetRequest(InstanceEvents.AWSAPICallViaCloudTrail.CreateFleetRequest createFleetRequest) - Parameters:
createFleetRequest- CreateFleetRequest property. Specify an array of string values to match this event if the actual value of CreateFleetRequest is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
createLaunchTemplateRequest
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder createLaunchTemplateRequest(InstanceEvents.AWSAPICallViaCloudTrail.CreateLaunchTemplateRequest createLaunchTemplateRequest) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.getCreateLaunchTemplateRequest()- Parameters:
createLaunchTemplateRequest- CreateLaunchTemplateRequest property. Specify an array of string values to match this event if the actual value of CreateLaunchTemplateRequest is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
deleteLaunchTemplateRequest
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder deleteLaunchTemplateRequest(InstanceEvents.AWSAPICallViaCloudTrail.DeleteLaunchTemplateRequest deleteLaunchTemplateRequest) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.getDeleteLaunchTemplateRequest()- Parameters:
deleteLaunchTemplateRequest- DeleteLaunchTemplateRequest property. Specify an array of string values to match this event if the actual value of DeleteLaunchTemplateRequest 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.RequestParameters.Builder description(List<String> description) - 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
-
disableApiTermination
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder disableApiTermination(List<String> disableApiTermination) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.getDisableApiTermination()- Parameters:
disableApiTermination- disableApiTermination property. Specify an array of string values to match this event if the actual value of disableApiTermination is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
groupDescription
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder groupDescription(List<String> groupDescription) - Parameters:
groupDescription- groupDescription property. Specify an array of string values to match this event if the actual value of groupDescription is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
groupId
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder groupId(List<String> groupId) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.getGroupId()- Parameters:
groupId- groupId property. Specify an array of string values to match this event if the actual value of groupId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
groupName
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder groupName(List<String> groupName) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.getGroupName()- Parameters:
groupName- groupName property. Specify an array of string values to match this event if the actual value of groupName 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.RequestParameters.Builder groupSet(InstanceEvents.AWSAPICallViaCloudTrail.GroupSet1 groupSet) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.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
-
instanceMarketOptions
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder instanceMarketOptions(InstanceEvents.AWSAPICallViaCloudTrail.InstanceMarketOptions instanceMarketOptions) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.getInstanceMarketOptions()- Parameters:
instanceMarketOptions- instanceMarketOptions property. Specify an array of string values to match this event if the actual value of instanceMarketOptions is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
instancesSet
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder instancesSet(InstanceEvents.AWSAPICallViaCloudTrail.InstancesSet1 instancesSet) - Parameters:
instancesSet- instancesSet property. Specify an array of string values to match this event if the actual value of instancesSet is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
instanceType
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder instanceType(List<String> instanceType) - Parameters:
instanceType- instanceType property. Specify an array of string values to match this event if the actual value of instanceType is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
ipv6AddressCount
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder ipv6AddressCount(List<String> ipv6AddressCount) - Parameters:
ipv6AddressCount- ipv6AddressCount property. Specify an array of string values to match this event if the actual value of ipv6AddressCount is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
launchTemplate
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder launchTemplate(InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplate launchTemplate) - Parameters:
launchTemplate- launchTemplate property. Specify an array of string values to match this event if the actual value of launchTemplate is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
monitoring
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder monitoring(InstanceEvents.AWSAPICallViaCloudTrail.Monitoring monitoring) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.getMonitoring()- Parameters:
monitoring- monitoring property. Specify an array of string values to match this event if the actual value of monitoring 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.RequestParameters.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
-
networkInterfaceSet
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder networkInterfaceSet(InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterfaceSet networkInterfaceSet) - Parameters:
networkInterfaceSet- networkInterfaceSet property. Specify an array of string values to match this event if the actual value of networkInterfaceSet 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.RequestParameters.Builder privateIpAddressesSet(List<String> privateIpAddressesSet) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.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
-
subnetId
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder subnetId(List<String> subnetId) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.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
-
tagSpecificationSet
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder tagSpecificationSet(InstanceEvents.AWSAPICallViaCloudTrail.TagSpecificationSet tagSpecificationSet) - Parameters:
tagSpecificationSet- tagSpecificationSet property. Specify an array of string values to match this event if the actual value of tagSpecificationSet is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
userData
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder userData(List<String> userData) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.getUserData()- Parameters:
userData- userData property. Specify an array of string values to match this event if the actual value of userData 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.RequestParameters.Builder vpcId(List<String> vpcId) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.RequestParameters.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.RequestParameters>- Returns:
- a new instance of
InstanceEvents.AWSAPICallViaCloudTrail.RequestParameters - Throws:
NullPointerException- if any required attribute was not provided
-