Interface CreateTrialRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateTrialRequest.Builder,,CreateTrialRequest> SageMakerRequest.Builder,SdkBuilder<CreateTrialRequest.Builder,,CreateTrialRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateTrialRequest
public static interface CreateTrialRequest.Builder
extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<CreateTrialRequest.Builder,CreateTrialRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondisplayName(String displayName) The name of the trial as displayed.experimentName(String experimentName) The name of the experiment to associate the trial with.default CreateTrialRequest.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.tags(Collection<Tag> tags) A list of tags to associate with the trial.tags(Consumer<Tag.Builder>... tags) A list of tags to associate with the trial.A list of tags to associate with the trial.The name of the trial.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
-
trialName
The name of the trial. The name must be unique in your Amazon Web Services account and is not case-sensitive.
- Parameters:
trialName- The name of the trial. The name must be unique in your Amazon Web Services account and is not case-sensitive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
The name of the trial as displayed. The name doesn't need to be unique. If
DisplayNameisn't specified,TrialNameis displayed.- Parameters:
displayName- The name of the trial as displayed. The name doesn't need to be unique. IfDisplayNameisn't specified,TrialNameis displayed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experimentName
The name of the experiment to associate the trial with.
- Parameters:
experimentName- The name of the experiment to associate the trial with.- 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 CreateTrialRequest.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
-
tags
-
tags
A list of tags to associate with the trial. You can use Search API to search on the tags.
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
CreateTrialRequest.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
CreateTrialRequest.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.
-