Class SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.sagemaker.events.SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps>
- Enclosing interface:
SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps
@Stability(Experimental)
public static final class SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.Builder
extends Object
implements software.amazon.jsii.Builder<SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalgorithmSpecification(SageMakerTrainingJobStateChange.AlgorithmSpecification algorithmSpecification) build()Builds the configured instance.creationTime(List<String> creationTime) eventMetadata(AWSEventMetadataProps eventMetadata) hyperParameters(List<String> hyperParameters) inputDataConfig(List<? extends SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeItem> inputDataConfig) lastModifiedTime(List<String> lastModifiedTime) modelArtifacts(SageMakerTrainingJobStateChange.ModelArtifacts modelArtifacts) outputDataConfig(SageMakerTrainingJobStateChange.OutputDataConfig outputDataConfig) resourceConfig(SageMakerTrainingJobStateChange.ResourceConfig resourceConfig) secondaryStatus(List<String> secondaryStatus) secondaryStatusTransitions(List<? extends SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeItem1> secondaryStatusTransitions) stoppingCondition(SageMakerTrainingJobStateChange.StoppingCondition stoppingCondition) tags(List<? extends SageMakerTrainingJobStateChange.Tags> tags) trainingEndTime(List<String> trainingEndTime) trainingJobArn(List<String> trainingJobArn) trainingJobName(List<String> trainingJobName) trainingJobStatus(List<String> trainingJobStatus) trainingStartTime(List<String> trainingStartTime)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
algorithmSpecification
@Stability(Experimental) public SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.Builder algorithmSpecification(SageMakerTrainingJobStateChange.AlgorithmSpecification algorithmSpecification) Sets the value ofSageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.getAlgorithmSpecification()- Parameters:
algorithmSpecification- AlgorithmSpecification property. Specify an array of string values to match this event if the actual value of AlgorithmSpecification is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
creationTime
@Stability(Experimental) public SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.Builder creationTime(List<String> creationTime) Sets the value ofSageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.getCreationTime()- Parameters:
creationTime- CreationTime property. Specify an array of string values to match this event if the actual value of CreationTime is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventMetadata
@Stability(Experimental) public SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofSageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
hyperParameters
@Stability(Experimental) public SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.Builder hyperParameters(List<String> hyperParameters) Sets the value ofSageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.getHyperParameters()- Parameters:
hyperParameters- HyperParameters property. Specify an array of string values to match this event if the actual value of HyperParameters is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
inputDataConfig
@Stability(Experimental) public SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.Builder inputDataConfig(List<? extends SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeItem> inputDataConfig) Sets the value ofSageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.getInputDataConfig()- Parameters:
inputDataConfig- InputDataConfig property. Specify an array of string values to match this event if the actual value of InputDataConfig is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
lastModifiedTime
@Stability(Experimental) public SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.Builder lastModifiedTime(List<String> lastModifiedTime) Sets the value ofSageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.getLastModifiedTime()- Parameters:
lastModifiedTime- LastModifiedTime property. Specify an array of string values to match this event if the actual value of LastModifiedTime is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
modelArtifacts
@Stability(Experimental) public SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.Builder modelArtifacts(SageMakerTrainingJobStateChange.ModelArtifacts modelArtifacts) Sets the value ofSageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.getModelArtifacts()- Parameters:
modelArtifacts- ModelArtifacts property. Specify an array of string values to match this event if the actual value of ModelArtifacts is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
outputDataConfig
@Stability(Experimental) public SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.Builder outputDataConfig(SageMakerTrainingJobStateChange.OutputDataConfig outputDataConfig) Sets the value ofSageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.getOutputDataConfig()- Parameters:
outputDataConfig- OutputDataConfig property. Specify an array of string values to match this event if the actual value of OutputDataConfig is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
resourceConfig
@Stability(Experimental) public SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.Builder resourceConfig(SageMakerTrainingJobStateChange.ResourceConfig resourceConfig) Sets the value ofSageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.getResourceConfig()- Parameters:
resourceConfig- ResourceConfig property. Specify an array of string values to match this event if the actual value of ResourceConfig is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
roleArn
@Stability(Experimental) public SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.Builder roleArn(List<String> roleArn) - Parameters:
roleArn- RoleArn property. Specify an array of string values to match this event if the actual value of RoleArn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
secondaryStatus
@Stability(Experimental) public SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.Builder secondaryStatus(List<String> secondaryStatus) Sets the value ofSageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.getSecondaryStatus()- Parameters:
secondaryStatus- SecondaryStatus property. Specify an array of string values to match this event if the actual value of SecondaryStatus is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
secondaryStatusTransitions
@Stability(Experimental) public SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.Builder secondaryStatusTransitions(List<? extends SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeItem1> secondaryStatusTransitions) Sets the value ofSageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.getSecondaryStatusTransitions()- Parameters:
secondaryStatusTransitions- SecondaryStatusTransitions property. Specify an array of string values to match this event if the actual value of SecondaryStatusTransitions is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
stoppingCondition
@Stability(Experimental) public SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.Builder stoppingCondition(SageMakerTrainingJobStateChange.StoppingCondition stoppingCondition) Sets the value ofSageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.getStoppingCondition()- Parameters:
stoppingCondition- StoppingCondition property. Specify an array of string values to match this event if the actual value of StoppingCondition is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
tags
@Stability(Experimental) public SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.Builder tags(List<? extends SageMakerTrainingJobStateChange.Tags> tags) - Parameters:
tags- Tags property. Specify an array of string values to match this event if the actual value of Tags is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
trainingEndTime
@Stability(Experimental) public SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.Builder trainingEndTime(List<String> trainingEndTime) Sets the value ofSageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.getTrainingEndTime()- Parameters:
trainingEndTime- TrainingEndTime property. Specify an array of string values to match this event if the actual value of TrainingEndTime is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
trainingJobArn
@Stability(Experimental) public SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.Builder trainingJobArn(List<String> trainingJobArn) Sets the value ofSageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.getTrainingJobArn()- Parameters:
trainingJobArn- TrainingJobArn property. Specify an array of string values to match this event if the actual value of TrainingJobArn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
trainingJobName
@Stability(Experimental) public SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.Builder trainingJobName(List<String> trainingJobName) Sets the value ofSageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.getTrainingJobName()- Parameters:
trainingJobName- TrainingJobName property. Specify an array of string values to match this event if the actual value of TrainingJobName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
trainingJobStatus
@Stability(Experimental) public SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.Builder trainingJobStatus(List<String> trainingJobStatus) Sets the value ofSageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.getTrainingJobStatus()- Parameters:
trainingJobStatus- TrainingJobStatus property. Specify an array of string values to match this event if the actual value of TrainingJobStatus is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
trainingStartTime
@Stability(Experimental) public SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.Builder trainingStartTime(List<String> trainingStartTime) Sets the value ofSageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps.getTrainingStartTime()- Parameters:
trainingStartTime- TrainingStartTime property. Specify an array of string values to match this event if the actual value of TrainingStartTime 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.SageMakerTrainingJobStateChangeProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps>- Returns:
- a new instance of
SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps - Throws:
NullPointerException- if any required attribute was not provided
-