Class SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeItem.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.sagemaker.events.SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeItem.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeItem>
- Enclosing interface:
SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeItem
@Stability(Experimental)
public static final class SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeItem.Builder
extends Object
implements software.amazon.jsii.Builder<SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeItem>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.channelName(List<String> channelName) compressionType(List<String> compressionType) contentType(List<String> contentType) dataSource(SageMakerTrainingJobStateChange.DataSource dataSource) recordWrapperType(List<String> recordWrapperType)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
channelName
@Stability(Experimental) public SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeItem.Builder channelName(List<String> channelName) Sets the value ofSageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeItem.getChannelName()- Parameters:
channelName- ChannelName property. Specify an array of string values to match this event if the actual value of ChannelName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
compressionType
@Stability(Experimental) public SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeItem.Builder compressionType(List<String> compressionType) Sets the value ofSageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeItem.getCompressionType()- Parameters:
compressionType- CompressionType property. Specify an array of string values to match this event if the actual value of CompressionType is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
contentType
@Stability(Experimental) public SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeItem.Builder contentType(List<String> contentType) Sets the value ofSageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeItem.getContentType()- Parameters:
contentType- ContentType property. Specify an array of string values to match this event if the actual value of ContentType is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
dataSource
@Stability(Experimental) public SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeItem.Builder dataSource(SageMakerTrainingJobStateChange.DataSource dataSource) Sets the value ofSageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeItem.getDataSource()- Parameters:
dataSource- DataSource property. Specify an array of string values to match this event if the actual value of DataSource is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
recordWrapperType
@Stability(Experimental) public SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeItem.Builder recordWrapperType(List<String> recordWrapperType) Sets the value ofSageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeItem.getRecordWrapperType()- Parameters:
recordWrapperType- RecordWrapperType property. Specify an array of string values to match this event if the actual value of RecordWrapperType is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
@Stability(Experimental) public SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeItem build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeItem>- Returns:
- a new instance of
SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeItem - Throws:
NullPointerException- if any required attribute was not provided
-