Class AWSAPICallViaCloudTrail.RequestParameters.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ec2.events.AWSAPICallViaCloudTrail.RequestParameters.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.RequestParameters>
- Enclosing interface:
AWSAPICallViaCloudTrail.RequestParameters
@Stability(Experimental)
public static final class AWSAPICallViaCloudTrail.RequestParameters.Builder
extends Object
implements software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.RequestParameters>
A builder for
AWSAPICallViaCloudTrail.RequestParameters-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone(List<String> availabilityZone) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getAvailabilityZone()blockDeviceMapping(List<String> blockDeviceMapping) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getBlockDeviceMapping()build()Builds the configured instance.clientToken(List<String> clientToken) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getClientToken()createFleetRequest(AWSAPICallViaCloudTrail.CreateFleetRequest createFleetRequest) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getCreateFleetRequest()createLaunchTemplateRequest(AWSAPICallViaCloudTrail.CreateLaunchTemplateRequest createLaunchTemplateRequest) deleteLaunchTemplateRequest(AWSAPICallViaCloudTrail.DeleteLaunchTemplateRequest deleteLaunchTemplateRequest) description(List<String> description) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getDescription()disableApiTermination(List<String> disableApiTermination) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getDisableApiTermination()groupDescription(List<String> groupDescription) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getGroupDescription()Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getGroupId()Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getGroupName()groupSet(AWSAPICallViaCloudTrail.GroupSet1 groupSet) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getGroupSet()instanceMarketOptions(AWSAPICallViaCloudTrail.InstanceMarketOptions instanceMarketOptions) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getInstanceMarketOptions()instancesSet(AWSAPICallViaCloudTrail.InstancesSet1 instancesSet) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getInstancesSet()instanceType(List<String> instanceType) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getInstanceType()ipv6AddressCount(List<String> ipv6AddressCount) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getIpv6AddressCount()launchTemplate(AWSAPICallViaCloudTrail.LaunchTemplate launchTemplate) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getLaunchTemplate()monitoring(AWSAPICallViaCloudTrail.Monitoring monitoring) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getMonitoring()networkInterfaceId(List<String> networkInterfaceId) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getNetworkInterfaceId()networkInterfaceSet(AWSAPICallViaCloudTrail.NetworkInterfaceSet networkInterfaceSet) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getNetworkInterfaceSet()privateIpAddressesSet(List<String> privateIpAddressesSet) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getPrivateIpAddressesSet()Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getSubnetId()tagSpecificationSet(AWSAPICallViaCloudTrail.TagSpecificationSet tagSpecificationSet) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getTagSpecificationSet()Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getUserData()Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
availabilityZone
@Stability(Experimental) public AWSAPICallViaCloudTrail.RequestParameters.Builder availabilityZone(List<String> availabilityZone) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.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
-
blockDeviceMapping
@Stability(Experimental) public AWSAPICallViaCloudTrail.RequestParameters.Builder blockDeviceMapping(List<String> blockDeviceMapping) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getBlockDeviceMapping()- 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 AWSAPICallViaCloudTrail.RequestParameters.Builder clientToken(List<String> clientToken) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getClientToken()- 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 AWSAPICallViaCloudTrail.RequestParameters.Builder createFleetRequest(AWSAPICallViaCloudTrail.CreateFleetRequest createFleetRequest) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getCreateFleetRequest()- 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 AWSAPICallViaCloudTrail.RequestParameters.Builder createLaunchTemplateRequest(AWSAPICallViaCloudTrail.CreateLaunchTemplateRequest createLaunchTemplateRequest) - 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 AWSAPICallViaCloudTrail.RequestParameters.Builder deleteLaunchTemplateRequest(AWSAPICallViaCloudTrail.DeleteLaunchTemplateRequest deleteLaunchTemplateRequest) - 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 AWSAPICallViaCloudTrail.RequestParameters.Builder description(List<String> description) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.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
-
disableApiTermination
@Stability(Experimental) public AWSAPICallViaCloudTrail.RequestParameters.Builder disableApiTermination(List<String> disableApiTermination) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.RequestParameters.Builder groupDescription(List<String> groupDescription) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getGroupDescription()- 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 AWSAPICallViaCloudTrail.RequestParameters.Builder groupId(List<String> groupId) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.RequestParameters.Builder groupName(List<String> groupName) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.RequestParameters.Builder groupSet(AWSAPICallViaCloudTrail.GroupSet1 groupSet) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.RequestParameters.Builder instanceMarketOptions(AWSAPICallViaCloudTrail.InstanceMarketOptions instanceMarketOptions) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.RequestParameters.Builder instancesSet(AWSAPICallViaCloudTrail.InstancesSet1 instancesSet) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getInstancesSet()- 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 AWSAPICallViaCloudTrail.RequestParameters.Builder instanceType(List<String> instanceType) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getInstanceType()- 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 AWSAPICallViaCloudTrail.RequestParameters.Builder ipv6AddressCount(List<String> ipv6AddressCount) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getIpv6AddressCount()- 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 AWSAPICallViaCloudTrail.RequestParameters.Builder launchTemplate(AWSAPICallViaCloudTrail.LaunchTemplate launchTemplate) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getLaunchTemplate()- 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 AWSAPICallViaCloudTrail.RequestParameters.Builder monitoring(AWSAPICallViaCloudTrail.Monitoring monitoring) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.RequestParameters.Builder networkInterfaceId(List<String> networkInterfaceId) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.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
-
networkInterfaceSet
@Stability(Experimental) public AWSAPICallViaCloudTrail.RequestParameters.Builder networkInterfaceSet(AWSAPICallViaCloudTrail.NetworkInterfaceSet networkInterfaceSet) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getNetworkInterfaceSet()- 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 AWSAPICallViaCloudTrail.RequestParameters.Builder privateIpAddressesSet(List<String> privateIpAddressesSet) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.RequestParameters.Builder subnetId(List<String> subnetId) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.RequestParameters.Builder tagSpecificationSet(AWSAPICallViaCloudTrail.TagSpecificationSet tagSpecificationSet) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getTagSpecificationSet()- 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 AWSAPICallViaCloudTrail.RequestParameters.Builder userData(List<String> userData) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.RequestParameters.Builder vpcId(List<String> vpcId) Sets the value ofAWSAPICallViaCloudTrail.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<AWSAPICallViaCloudTrail.RequestParameters>- Returns:
- a new instance of
AWSAPICallViaCloudTrail.RequestParameters - Throws:
NullPointerException- if any required attribute was not provided
-