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