public static final class SageMakerCreateEndpointConfigProps.Builder
extends java.lang.Object
SageMakerCreateEndpointConfigProps
Constructor and Description |
---|
Builder() |
public SageMakerCreateEndpointConfigProps.Builder endpointConfigName(java.lang.String endpointConfigName)
SageMakerCreateEndpointConfigProps.getEndpointConfigName()
endpointConfigName
- The name of the endpoint configuration. This parameter is required.this
public SageMakerCreateEndpointConfigProps.Builder productionVariants(java.util.List<? extends ProductionVariant> productionVariants)
SageMakerCreateEndpointConfigProps.getProductionVariants()
productionVariants
- An list of ProductionVariant objects, one for each model that you want to host at this endpoint. This parameter is required.
Identifies a model that you want to host and the resources to deploy for hosting it.
If you are deploying multiple models, tell Amazon SageMaker how to distribute traffic among the models by specifying variant weights.this
public SageMakerCreateEndpointConfigProps.Builder kmsKey(IKey kmsKey)
SageMakerCreateEndpointConfigProps.getKmsKey()
kmsKey
- AWS Key Management Service key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.this
public SageMakerCreateEndpointConfigProps.Builder tags(TaskInput tags)
SageMakerCreateEndpointConfigProps.getTags()
tags
- Tags to be applied to the endpoint configuration.this
public SageMakerCreateEndpointConfigProps.Builder comment(java.lang.String comment)
TaskStateBaseProps.getComment()
comment
- An optional description for this state.this
public SageMakerCreateEndpointConfigProps.Builder heartbeat(Duration heartbeat)
TaskStateBaseProps.getHeartbeat()
heartbeat
- Timeout for the heartbeat.this
public SageMakerCreateEndpointConfigProps.Builder inputPath(java.lang.String inputPath)
TaskStateBaseProps.getInputPath()
inputPath
- JSONPath expression to select part of the state to be the input to this state.
May also be the special value JsonPath.DISCARD, which will cause the effective
input to be the empty object {}.this
public SageMakerCreateEndpointConfigProps.Builder integrationPattern(IntegrationPattern integrationPattern)
TaskStateBaseProps.getIntegrationPattern()
integrationPattern
- AWS Step Functions integrates with services directly in the Amazon States Language.
You can control these AWS services using service integration patternsthis
public SageMakerCreateEndpointConfigProps.Builder outputPath(java.lang.String outputPath)
TaskStateBaseProps.getOutputPath()
outputPath
- JSONPath expression to select select a portion of the state output to pass to the next state.
May also be the special value JsonPath.DISCARD, which will cause the effective
output to be the empty object {}.this
public SageMakerCreateEndpointConfigProps.Builder resultPath(java.lang.String resultPath)
TaskStateBaseProps.getResultPath()
resultPath
- JSONPath expression to indicate where to inject the state's output.
May also be the special value JsonPath.DISCARD, which will cause the state's
input to become its output.this
public SageMakerCreateEndpointConfigProps.Builder resultSelector(java.util.Map<java.lang.String,? extends java.lang.Object> resultSelector)
TaskStateBaseProps.getResultSelector()
resultSelector
- The JSON that will replace the state's raw result and become the effective result before ResultPath is applied.
You can use ResultSelector to create a payload with values that are static
or selected from the state's raw result.this
public SageMakerCreateEndpointConfigProps.Builder timeout(Duration timeout)
TaskStateBaseProps.getTimeout()
timeout
- Timeout for the state machine.this
public SageMakerCreateEndpointConfigProps build()
SageMakerCreateEndpointConfigProps
java.lang.NullPointerException
- if any required attribute was not provided