public static final class SageMakerCreateTransformJobProps.Builder
extends java.lang.Object
SageMakerCreateTransformJobProps
Constructor and Description |
---|
Builder() |
public SageMakerCreateTransformJobProps.Builder modelName(java.lang.String modelName)
SageMakerCreateTransformJobProps.getModelName()
modelName
- Name of the model that you want to use for the transform job. This parameter is required.this
public SageMakerCreateTransformJobProps.Builder transformInput(TransformInput transformInput)
SageMakerCreateTransformJobProps.getTransformInput()
transformInput
- Dataset to be transformed and the Amazon S3 location where it is stored. This parameter is required.this
public SageMakerCreateTransformJobProps.Builder transformJobName(java.lang.String transformJobName)
SageMakerCreateTransformJobProps.getTransformJobName()
transformJobName
- Transform Job Name. This parameter is required.this
public SageMakerCreateTransformJobProps.Builder transformOutput(TransformOutput transformOutput)
SageMakerCreateTransformJobProps.getTransformOutput()
transformOutput
- S3 location where you want Amazon SageMaker to save the results from the transform job. This parameter is required.this
public SageMakerCreateTransformJobProps.Builder batchStrategy(BatchStrategy batchStrategy)
SageMakerCreateTransformJobProps.getBatchStrategy()
batchStrategy
- Number of records to include in a mini-batch for an HTTP inference request.this
public SageMakerCreateTransformJobProps.Builder environment(java.util.Map<java.lang.String,java.lang.String> environment)
SageMakerCreateTransformJobProps.getEnvironment()
environment
- Environment variables to set in the Docker container.this
public SageMakerCreateTransformJobProps.Builder maxConcurrentTransforms(java.lang.Number maxConcurrentTransforms)
SageMakerCreateTransformJobProps.getMaxConcurrentTransforms()
maxConcurrentTransforms
- Maximum number of parallel requests that can be sent to each instance in a transform job.this
public SageMakerCreateTransformJobProps.Builder maxPayload(Size maxPayload)
SageMakerCreateTransformJobProps.getMaxPayload()
maxPayload
- Maximum allowed size of the payload, in MB.this
public SageMakerCreateTransformJobProps.Builder modelClientOptions(ModelClientOptions modelClientOptions)
SageMakerCreateTransformJobProps.getModelClientOptions()
modelClientOptions
- Configures the timeout and maximum number of retries for processing a transform job invocation.this
public SageMakerCreateTransformJobProps.Builder role(IRole role)
SageMakerCreateTransformJobProps.getRole()
role
- Role for the Transform Job.this
public SageMakerCreateTransformJobProps.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
SageMakerCreateTransformJobProps.getTags()
tags
- Tags to be applied to the train job.this
public SageMakerCreateTransformJobProps.Builder transformResources(TransformResources transformResources)
SageMakerCreateTransformJobProps.getTransformResources()
transformResources
- ML compute instances for the transform job.this
public SageMakerCreateTransformJobProps.Builder comment(java.lang.String comment)
TaskStateBaseProps.getComment()
comment
- An optional description for this state.this
public SageMakerCreateTransformJobProps.Builder heartbeat(Duration heartbeat)
TaskStateBaseProps.getHeartbeat()
heartbeat
- Timeout for the heartbeat.this
public SageMakerCreateTransformJobProps.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 SageMakerCreateTransformJobProps.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 SageMakerCreateTransformJobProps.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 SageMakerCreateTransformJobProps.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 SageMakerCreateTransformJobProps.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 SageMakerCreateTransformJobProps.Builder timeout(Duration timeout)
TaskStateBaseProps.getTimeout()
timeout
- Timeout for the state machine.this
public SageMakerCreateTransformJobProps build()
SageMakerCreateTransformJobProps
java.lang.NullPointerException
- if any required attribute was not provided