Interface CreateModelCardExportJobRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateModelCardExportJobRequest.Builder,
,CreateModelCardExportJobRequest> SageMakerRequest.Builder
,SdkBuilder<CreateModelCardExportJobRequest.Builder,
,CreateModelCardExportJobRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateModelCardExportJobRequest
public static interface CreateModelCardExportJobRequest.Builder
extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<CreateModelCardExportJobRequest.Builder,CreateModelCardExportJobRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmodelCardExportJobName
(String modelCardExportJobName) The name of the model card export job.modelCardName
(String modelCardName) The name or Amazon Resource Name (ARN) of the model card to export.modelCardVersion
(Integer modelCardVersion) The version of the model card to export.outputConfig
(Consumer<ModelCardExportOutputConfig.Builder> outputConfig) The model card output configuration that specifies the Amazon S3 path for exporting.outputConfig
(ModelCardExportOutputConfig outputConfig) The model card output configuration that specifies the Amazon S3 path for exporting.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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, sdkFields
-
Method Details
-
modelCardName
The name or Amazon Resource Name (ARN) of the model card to export.
- Parameters:
modelCardName
- The name or Amazon Resource Name (ARN) of the model card to export.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelCardVersion
The version of the model card to export. If a version is not provided, then the latest version of the model card is exported.
- Parameters:
modelCardVersion
- The version of the model card to export. If a version is not provided, then the latest version of the model card is exported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelCardExportJobName
The name of the model card export job.
- Parameters:
modelCardExportJobName
- The name of the model card export job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputConfig
The model card output configuration that specifies the Amazon S3 path for exporting.
- Parameters:
outputConfig
- The model card output configuration that specifies the Amazon S3 path for exporting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputConfig
default CreateModelCardExportJobRequest.Builder outputConfig(Consumer<ModelCardExportOutputConfig.Builder> outputConfig) The model card output configuration that specifies the Amazon S3 path for exporting.
This is a convenience method that creates an instance of theModelCardExportOutputConfig.Builder
avoiding the need to create one manually viaModelCardExportOutputConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputConfig(ModelCardExportOutputConfig)
.- Parameters:
outputConfig
- a consumer that will call methods onModelCardExportOutputConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateModelCardExportJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateModelCardExportJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-