Interface ListTrialsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListTrialsRequest.Builder,ListTrialsRequest>,SageMakerRequest.Builder,SdkBuilder<ListTrialsRequest.Builder,ListTrialsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListTrialsRequest
public static interface ListTrialsRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<ListTrialsRequest.Builder,ListTrialsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListTrialsRequest.BuildercreatedAfter(Instant createdAfter)A filter that returns only trials created after the specified time.ListTrialsRequest.BuildercreatedBefore(Instant createdBefore)A filter that returns only trials created before the specified time.ListTrialsRequest.BuilderexperimentName(String experimentName)A filter that returns only trials that are part of the specified experiment.ListTrialsRequest.BuildermaxResults(Integer maxResults)The maximum number of trials to return in the response.ListTrialsRequest.BuildernextToken(String nextToken)If the previous call toListTrialsdidn't return the full set of trials, the call returns a token for getting the next set of trials.ListTrialsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListTrialsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListTrialsRequest.BuildersortBy(String sortBy)The property used to sort results.ListTrialsRequest.BuildersortBy(SortTrialsBy sortBy)The property used to sort results.ListTrialsRequest.BuildersortOrder(String sortOrder)The sort order.ListTrialsRequest.BuildersortOrder(SortOrder sortOrder)The sort order.ListTrialsRequest.BuildertrialComponentName(String trialComponentName)A filter that returns only trials that are associated with the specified trial component.-
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
-
experimentName
ListTrialsRequest.Builder experimentName(String experimentName)
A filter that returns only trials that are part of the specified experiment.
- Parameters:
experimentName- A filter that returns only trials that are part of the specified experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trialComponentName
ListTrialsRequest.Builder trialComponentName(String trialComponentName)
A filter that returns only trials that are associated with the specified trial component.
- Parameters:
trialComponentName- A filter that returns only trials that are associated with the specified trial component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAfter
ListTrialsRequest.Builder createdAfter(Instant createdAfter)
A filter that returns only trials created after the specified time.
- Parameters:
createdAfter- A filter that returns only trials created after the specified time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBefore
ListTrialsRequest.Builder createdBefore(Instant createdBefore)
A filter that returns only trials created before the specified time.
- Parameters:
createdBefore- A filter that returns only trials created before the specified time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
ListTrialsRequest.Builder sortBy(String sortBy)
The property used to sort results. The default value is
CreationTime.- Parameters:
sortBy- The property used to sort results. The default value isCreationTime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SortTrialsBy,SortTrialsBy
-
sortBy
ListTrialsRequest.Builder sortBy(SortTrialsBy sortBy)
The property used to sort results. The default value is
CreationTime.- Parameters:
sortBy- The property used to sort results. The default value isCreationTime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SortTrialsBy,SortTrialsBy
-
sortOrder
ListTrialsRequest.Builder sortOrder(String sortOrder)
The sort order. The default value is
Descending.
-
sortOrder
ListTrialsRequest.Builder sortOrder(SortOrder sortOrder)
The sort order. The default value is
Descending.
-
maxResults
ListTrialsRequest.Builder maxResults(Integer maxResults)
The maximum number of trials to return in the response. The default value is 10.
- Parameters:
maxResults- The maximum number of trials to return in the response. The default value is 10.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListTrialsRequest.Builder nextToken(String nextToken)
If the previous call to
ListTrialsdidn't return the full set of trials, the call returns a token for getting the next set of trials.- Parameters:
nextToken- If the previous call toListTrialsdidn't return the full set of trials, the call returns a token for getting the next set of trials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListTrialsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListTrialsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-