Interface CreateArtifactRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateArtifactRequest.Builder,
,CreateArtifactRequest> SageMakerRequest.Builder
,SdkBuilder<CreateArtifactRequest.Builder,
,CreateArtifactRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateArtifactRequest
-
Method Summary
Modifier and TypeMethodDescriptionartifactName
(String artifactName) The name of the artifact.artifactType
(String artifactType) The artifact type.default CreateArtifactRequest.Builder
metadataProperties
(Consumer<MetadataProperties.Builder> metadataProperties) Sets the value of the MetadataProperties property for this object.metadataProperties
(MetadataProperties metadataProperties) Sets the value of the MetadataProperties property for this object.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.properties
(Map<String, String> properties) A list of properties to add to the artifact.default CreateArtifactRequest.Builder
source
(Consumer<ArtifactSource.Builder> source) The ID, ID type, and URI of the source.source
(ArtifactSource source) The ID, ID type, and URI of the source.tags
(Collection<Tag> tags) A list of tags to apply to the artifact.tags
(Consumer<Tag.Builder>... tags) A list of tags to apply to the artifact.A list of tags to apply to the artifact.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
-
artifactName
The name of the artifact. Must be unique to your account in an Amazon Web Services Region.
- Parameters:
artifactName
- The name of the artifact. Must be unique to your account in an Amazon Web Services Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The ID, ID type, and URI of the source.
- Parameters:
source
- The ID, ID type, and URI of the source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The ID, ID type, and URI of the source.
This is a convenience method that creates an instance of theArtifactSource.Builder
avoiding the need to create one manually viaArtifactSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosource(ArtifactSource)
.- Parameters:
source
- a consumer that will call methods onArtifactSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
artifactType
The artifact type.
- Parameters:
artifactType
- The artifact type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
properties
A list of properties to add to the artifact.
- Parameters:
properties
- A list of properties to add to the artifact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataProperties
Sets the value of the MetadataProperties property for this object.- Parameters:
metadataProperties
- The new value for the MetadataProperties property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataProperties
default CreateArtifactRequest.Builder metadataProperties(Consumer<MetadataProperties.Builder> metadataProperties) Sets the value of the MetadataProperties property for this object. This is a convenience method that creates an instance of theMetadataProperties.Builder
avoiding the need to create one manually viaMetadataProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometadataProperties(MetadataProperties)
.- Parameters:
metadataProperties
- a consumer that will call methods onMetadataProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A list of tags to apply to the artifact.
- Parameters:
tags
- A list of tags to apply to the artifact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags to apply to the artifact.
- Parameters:
tags
- A list of tags to apply to the artifact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags to apply to the artifact.
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 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
CreateArtifactRequest.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
CreateArtifactRequest.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.
-