Interface CreateArtifactRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateArtifactRequest.Builder,CreateArtifactRequest>,SageMakerRequest.Builder,SdkBuilder<CreateArtifactRequest.Builder,CreateArtifactRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateArtifactRequest
public static interface CreateArtifactRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<CreateArtifactRequest.Builder,CreateArtifactRequest>
-
-
Method Summary
-
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 Detail
-
artifactName
CreateArtifactRequest.Builder artifactName(String 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
CreateArtifactRequest.Builder source(ArtifactSource 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
default CreateArtifactRequest.Builder source(Consumer<ArtifactSource.Builder> 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:
source(ArtifactSource)
-
artifactType
CreateArtifactRequest.Builder artifactType(String 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
CreateArtifactRequest.Builder properties(Map<String,String> 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
CreateArtifactRequest.Builder metadataProperties(MetadataProperties 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:
metadataProperties(MetadataProperties)
-
tags
CreateArtifactRequest.Builder tags(Collection<Tag> 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
CreateArtifactRequest.Builder tags(Tag... 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
CreateArtifactRequest.Builder tags(Consumer<Tag.Builder>... 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 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
CreateArtifactRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateArtifactRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-