Interface CreateTrialRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateTrialRequest.Builder,
,CreateTrialRequest> SageMakerRequest.Builder
,SdkBuilder<CreateTrialRequest.Builder,
,CreateTrialRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
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.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.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
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
-
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
DisplayName
isn't specified,TrialName
is displayed.- Parameters:
displayName
- The name of the trial as displayed. The name doesn't need to be unique. IfDisplayName
isn't specified,TrialName
is 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.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 associate with the trial. You can use Search API to search on the tags.
- Parameters:
tags
- A list of tags to associate with the trial. You can use Search API to search on the tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags to associate with the trial. You can use Search API to search on the tags.
- Parameters:
tags
- A list of tags to associate with the trial. You can use Search API to search on the tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.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
CreateTrialRequest.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
CreateTrialRequest.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.
-