Class AWSAPICallViaCloudTrail.ExistingInstances.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ec2.events.AWSAPICallViaCloudTrail.ExistingInstances.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.ExistingInstances>
- Enclosing interface:
AWSAPICallViaCloudTrail.ExistingInstances
@Stability(Experimental)
public static final class AWSAPICallViaCloudTrail.ExistingInstances.Builder
extends Object
implements software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.ExistingInstances>
A builder for
AWSAPICallViaCloudTrail.ExistingInstances-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone(List<String> availabilityZone) Sets the value ofAWSAPICallViaCloudTrail.ExistingInstances.getAvailabilityZone()build()Builds the configured instance.Sets the value ofAWSAPICallViaCloudTrail.ExistingInstances.getCount()instanceType(List<String> instanceType) Sets the value ofAWSAPICallViaCloudTrail.ExistingInstances.getInstanceType()marketOption(List<String> marketOption) Sets the value ofAWSAPICallViaCloudTrail.ExistingInstances.getMarketOption()operatingSystem(List<String> operatingSystem) Sets the value ofAWSAPICallViaCloudTrail.ExistingInstances.getOperatingSystem()Sets the value ofAWSAPICallViaCloudTrail.ExistingInstances.getTag()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
availabilityZone
@Stability(Experimental) public AWSAPICallViaCloudTrail.ExistingInstances.Builder availabilityZone(List<String> availabilityZone) Sets the value ofAWSAPICallViaCloudTrail.ExistingInstances.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
-
count
@Stability(Experimental) public AWSAPICallViaCloudTrail.ExistingInstances.Builder count(List<String> count) Sets the value ofAWSAPICallViaCloudTrail.ExistingInstances.getCount()- Parameters:
count- Count property. Specify an array of string values to match this event if the actual value of Count 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.ExistingInstances.Builder instanceType(List<String> instanceType) Sets the value ofAWSAPICallViaCloudTrail.ExistingInstances.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
-
marketOption
@Stability(Experimental) public AWSAPICallViaCloudTrail.ExistingInstances.Builder marketOption(List<String> marketOption) Sets the value ofAWSAPICallViaCloudTrail.ExistingInstances.getMarketOption()- Parameters:
marketOption- MarketOption property. Specify an array of string values to match this event if the actual value of MarketOption is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
operatingSystem
@Stability(Experimental) public AWSAPICallViaCloudTrail.ExistingInstances.Builder operatingSystem(List<String> operatingSystem) Sets the value ofAWSAPICallViaCloudTrail.ExistingInstances.getOperatingSystem()- Parameters:
operatingSystem- OperatingSystem property. Specify an array of string values to match this event if the actual value of OperatingSystem is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
tag
@Stability(Experimental) public AWSAPICallViaCloudTrail.ExistingInstances.Builder tag(List<String> tag) Sets the value ofAWSAPICallViaCloudTrail.ExistingInstances.getTag()- Parameters:
tag- tag property. Specify an array of string values to match this event if the actual value of tag 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.ExistingInstances>- Returns:
- a new instance of
AWSAPICallViaCloudTrail.ExistingInstances - Throws:
NullPointerException- if any required attribute was not provided
-