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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateTrialRequest.Builder
displayName(String displayName)
The name of the trial as displayed.CreateTrialRequest.Builder
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.CreateTrialRequest.Builder
metadataProperties(MetadataProperties metadataProperties)
Sets the value of the MetadataProperties property for this object.CreateTrialRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreateTrialRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
CreateTrialRequest.Builder
tags(Collection<Tag> tags)
A list of tags to associate with the trial.CreateTrialRequest.Builder
tags(Consumer<Tag.Builder>... tags)
A list of tags to associate with the trial.CreateTrialRequest.Builder
tags(Tag... tags)
A list of tags to associate with the trial.CreateTrialRequest.Builder
trialName(String trialName)
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
trialName
CreateTrialRequest.Builder trialName(String 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
CreateTrialRequest.Builder displayName(String 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
CreateTrialRequest.Builder experimentName(String 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
CreateTrialRequest.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 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:
metadataProperties(MetadataProperties)
-
tags
CreateTrialRequest.Builder tags(Collection<Tag> 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
CreateTrialRequest.Builder tags(Tag... 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
CreateTrialRequest.Builder tags(Consumer<Tag.Builder>... 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 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
CreateTrialRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateTrialRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-