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.BuildermetadataProperties(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.Buildersource(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
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
-
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.Builderavoiding the need to create one manually viaArtifactSource.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaMetadataProperties.builder().When the
Consumercompletes,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.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
CreateArtifactRequest.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
CreateArtifactRequest.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.
-