Class ModelEvents.AWSAPICallViaCloudTrail.TransformResources.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.sagemaker.events.ModelEvents.AWSAPICallViaCloudTrail.TransformResources.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ModelEvents.AWSAPICallViaCloudTrail.TransformResources>
- Enclosing interface:
ModelEvents.AWSAPICallViaCloudTrail.TransformResources
@Stability(Experimental)
public static final class ModelEvents.AWSAPICallViaCloudTrail.TransformResources.Builder
extends Object
implements software.amazon.jsii.Builder<ModelEvents.AWSAPICallViaCloudTrail.TransformResources>
A builder for
ModelEvents.AWSAPICallViaCloudTrail.TransformResources-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.instanceCount(List<String> instanceCount) instanceType(List<String> instanceType) Sets the value ofModelEvents.AWSAPICallViaCloudTrail.TransformResources.getInstanceType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instanceCount
@Stability(Experimental) public ModelEvents.AWSAPICallViaCloudTrail.TransformResources.Builder instanceCount(List<String> instanceCount) - 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 ModelEvents.AWSAPICallViaCloudTrail.TransformResources.Builder instanceType(List<String> instanceType) Sets the value ofModelEvents.AWSAPICallViaCloudTrail.TransformResources.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
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ModelEvents.AWSAPICallViaCloudTrail.TransformResources>- Returns:
- a new instance of
ModelEvents.AWSAPICallViaCloudTrail.TransformResources - Throws:
NullPointerException- if any required attribute was not provided
-