Interface CreateEdgePackagingJobRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateEdgePackagingJobRequest.Builder,,CreateEdgePackagingJobRequest> SageMakerRequest.Builder,SdkBuilder<CreateEdgePackagingJobRequest.Builder,,CreateEdgePackagingJobRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateEdgePackagingJobRequest
-
Method Summary
Modifier and TypeMethodDescriptioncompilationJobName(String compilationJobName) The name of the SageMaker Neo compilation job that will be used to locate model artifacts for packaging.edgePackagingJobName(String edgePackagingJobName) The name of the edge packaging job.The name of the model.modelVersion(String modelVersion) The version of the model.outputConfig(Consumer<EdgeOutputConfig.Builder> outputConfig) Provides information about the output location for the packaged model.outputConfig(EdgeOutputConfig outputConfig) Provides information about the output location for the packaged model.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceKey(String resourceKey) The Amazon Web Services KMS key to use when encrypting the EBS volume the edge packaging job runs on.The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to download and upload the model, and to contact SageMaker Neo.tags(Collection<Tag> tags) Creates tags for the packaging job.tags(Consumer<Tag.Builder>... tags) Creates tags for the packaging job.Creates tags for the packaging job.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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
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
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.Builderavoiding the need to create one manually viaEdgeOutputConfig.builder().When the
Consumercompletes,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:
-
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
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
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
Creates tags for the packaging job.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- 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:
-
overrideConfiguration
CreateEdgePackagingJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateEdgePackagingJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-