Class InstanceEvents.AWSAPICallViaCloudTrail.EnclaveOptions.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ec2.events.InstanceEvents.AWSAPICallViaCloudTrail.EnclaveOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<InstanceEvents.AWSAPICallViaCloudTrail.EnclaveOptions>
- Enclosing interface:
InstanceEvents.AWSAPICallViaCloudTrail.EnclaveOptions
@Stability(Experimental)
public static final class InstanceEvents.AWSAPICallViaCloudTrail.EnclaveOptions.Builder
extends Object
implements software.amazon.jsii.Builder<InstanceEvents.AWSAPICallViaCloudTrail.EnclaveOptions>
A builder for
InstanceEvents.AWSAPICallViaCloudTrail.EnclaveOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.EnclaveOptions.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.EnclaveOptions.Builder enabled(List<String> enabled) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.EnclaveOptions.getEnabled()- Parameters:
enabled- enabled property. Specify an array of string values to match this event if the actual value of enabled 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.EnclaveOptions>- Returns:
- a new instance of
InstanceEvents.AWSAPICallViaCloudTrail.EnclaveOptions - Throws:
NullPointerException- if any required attribute was not provided
-