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