Interface CreateEdgePackagingJobRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateEdgePackagingJobRequest.Builder,CreateEdgePackagingJobRequest>
,SageMakerRequest.Builder
,SdkBuilder<CreateEdgePackagingJobRequest.Builder,CreateEdgePackagingJobRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CreateEdgePackagingJobRequest
public static interface CreateEdgePackagingJobRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<CreateEdgePackagingJobRequest.Builder,CreateEdgePackagingJobRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateEdgePackagingJobRequest.Builder
compilationJobName(String compilationJobName)
The name of the SageMaker Neo compilation job that will be used to locate model artifacts for packaging.CreateEdgePackagingJobRequest.Builder
edgePackagingJobName(String edgePackagingJobName)
The name of the edge packaging job.CreateEdgePackagingJobRequest.Builder
modelName(String modelName)
The name of the model.CreateEdgePackagingJobRequest.Builder
modelVersion(String modelVersion)
The version of the model.default CreateEdgePackagingJobRequest.Builder
outputConfig(Consumer<EdgeOutputConfig.Builder> outputConfig)
Provides information about the output location for the packaged model.CreateEdgePackagingJobRequest.Builder
outputConfig(EdgeOutputConfig outputConfig)
Provides information about the output location for the packaged model.CreateEdgePackagingJobRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreateEdgePackagingJobRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
CreateEdgePackagingJobRequest.Builder
resourceKey(String resourceKey)
The Amazon Web Services KMS key to use when encrypting the EBS volume the edge packaging job runs on.CreateEdgePackagingJobRequest.Builder
roleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to download and upload the model, and to contact SageMaker Neo.CreateEdgePackagingJobRequest.Builder
tags(Collection<Tag> tags)
Creates tags for the packaging job.CreateEdgePackagingJobRequest.Builder
tags(Consumer<Tag.Builder>... tags)
Creates tags for the packaging job.CreateEdgePackagingJobRequest.Builder
tags(Tag... tags)
Creates tags for the packaging job.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
edgePackagingJobName
CreateEdgePackagingJobRequest.Builder edgePackagingJobName(String edgePackagingJobName)
The name of the edge packaging job.
- Parameters:
edgePackagingJobName
- The name of the edge packaging job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compilationJobName
CreateEdgePackagingJobRequest.Builder compilationJobName(String compilationJobName)
The name of the SageMaker Neo compilation job that will be used to locate model artifacts for packaging.
- Parameters:
compilationJobName
- The name of the SageMaker Neo compilation job that will be used to locate model artifacts for packaging.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelName
CreateEdgePackagingJobRequest.Builder modelName(String modelName)
The name of the model.
- Parameters:
modelName
- The name of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelVersion
CreateEdgePackagingJobRequest.Builder modelVersion(String modelVersion)
The version of the model.
- Parameters:
modelVersion
- The version of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
CreateEdgePackagingJobRequest.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to download and upload the model, and to contact SageMaker Neo.
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to download and upload the model, and to contact SageMaker Neo.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputConfig
CreateEdgePackagingJobRequest.Builder outputConfig(EdgeOutputConfig outputConfig)
Provides information about the output location for the packaged model.
- Parameters:
outputConfig
- Provides information about the output location for the packaged model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputConfig
default CreateEdgePackagingJobRequest.Builder outputConfig(Consumer<EdgeOutputConfig.Builder> outputConfig)
Provides information about the output location for the packaged model.
This is a convenience method that creates an instance of theEdgeOutputConfig.Builder
avoiding the need to create one manually viaEdgeOutputConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputConfig(EdgeOutputConfig)
.- Parameters:
outputConfig
- a consumer that will call methods onEdgeOutputConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
outputConfig(EdgeOutputConfig)
-
resourceKey
CreateEdgePackagingJobRequest.Builder resourceKey(String resourceKey)
The Amazon Web Services KMS key to use when encrypting the EBS volume the edge packaging job runs on.
- Parameters:
resourceKey
- The Amazon Web Services KMS key to use when encrypting the EBS volume the edge packaging job runs on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateEdgePackagingJobRequest.Builder tags(Collection<Tag> tags)
Creates tags for the packaging job.
- Parameters:
tags
- Creates tags for the packaging job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateEdgePackagingJobRequest.Builder tags(Tag... tags)
Creates tags for the packaging job.
- Parameters:
tags
- Creates tags for the packaging job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateEdgePackagingJobRequest.Builder tags(Consumer<Tag.Builder>... tags)
Creates tags for the packaging job.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#tags(List
.) - Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection
)
-
overrideConfiguration
CreateEdgePackagingJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateEdgePackagingJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-