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