Class InstanceEvents.AWSAPICallViaCloudTrail.InstancesSet1Item.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ec2.events.InstanceEvents.AWSAPICallViaCloudTrail.InstancesSet1Item.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<InstanceEvents.AWSAPICallViaCloudTrail.InstancesSet1Item>
- Enclosing interface:
InstanceEvents.AWSAPICallViaCloudTrail.InstancesSet1Item
@Stability(Experimental)
public static final class InstanceEvents.AWSAPICallViaCloudTrail.InstancesSet1Item.Builder
extends Object
implements software.amazon.jsii.Builder<InstanceEvents.AWSAPICallViaCloudTrail.InstancesSet1Item>
A builder for
InstanceEvents.AWSAPICallViaCloudTrail.InstancesSet1Item-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.InstancesSet1Item.getImageId()instanceId(List<String> instanceId) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.InstancesSet1Item.getInstanceId()Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.InstancesSet1Item.getMaxCount()Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.InstancesSet1Item.getMinCount()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
imageId
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.InstancesSet1Item.Builder imageId(List<String> imageId) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.InstancesSet1Item.getImageId()- Parameters:
imageId- imageId property. Specify an array of string values to match this event if the actual value of imageId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
instanceId
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.InstancesSet1Item.Builder instanceId(List<String> instanceId) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.InstancesSet1Item.getInstanceId()- Parameters:
instanceId- instanceId property. Specify an array of string values to match this event if the actual value of instanceId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
maxCount
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.InstancesSet1Item.Builder maxCount(List<String> maxCount) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.InstancesSet1Item.getMaxCount()- Parameters:
maxCount- maxCount property. Specify an array of string values to match this event if the actual value of maxCount is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
minCount
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.InstancesSet1Item.Builder minCount(List<String> minCount) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.InstancesSet1Item.getMinCount()- Parameters:
minCount- minCount property. Specify an array of string values to match this event if the actual value of minCount 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.InstancesSet1Item>- Returns:
- a new instance of
InstanceEvents.AWSAPICallViaCloudTrail.InstancesSet1Item - Throws:
NullPointerException- if any required attribute was not provided
-