Interface CreateLeaderboardRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateLeaderboardRequest.Builder,,CreateLeaderboardRequest> SageMakerRequest.Builder,SdkBuilder<CreateLeaderboardRequest.Builder,,CreateLeaderboardRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateLeaderboardRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier for the request.description(String description) A description of the leaderboard.The name of the leaderboard.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.requiredMetrics(Collection<LeaderboardRequiredMetric> requiredMetrics) The metrics that you expect each candidate on the leaderboard to report, grouped by evaluation criterion.requiredMetrics(Consumer<LeaderboardRequiredMetric.Builder>... requiredMetrics) The metrics that you expect each candidate on the leaderboard to report, grouped by evaluation criterion.requiredMetrics(LeaderboardRequiredMetric... requiredMetrics) The metrics that you expect each candidate on the leaderboard to report, grouped by evaluation criterion.tags(Collection<Tag> tags) Tags to apply to the leaderboard.tags(Consumer<Tag.Builder>... tags) Tags to apply to the leaderboard.Tags to apply to the leaderboard.The type of the leaderboard.type(LeaderboardType type) The type of the leaderboard.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, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the leaderboard. The name must be unique in your account in the current Region.
- Parameters:
name- The name of the leaderboard. The name must be unique in your account in the current Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of the leaderboard. The type determines what kind of candidates the leaderboard ranks.
- Parameters:
type- The type of the leaderboard. The type determines what kind of candidates the leaderboard ranks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the leaderboard. The type determines what kind of candidates the leaderboard ranks.
- Parameters:
type- The type of the leaderboard. The type determines what kind of candidates the leaderboard ranks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
A description of the leaderboard.
- Parameters:
description- A description of the leaderboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requiredMetrics
CreateLeaderboardRequest.Builder requiredMetrics(Collection<LeaderboardRequiredMetric> requiredMetrics) The metrics that you expect each candidate on the leaderboard to report, grouped by evaluation criterion. SageMaker stores this list with the leaderboard and returns it in
GetLeaderboard.AddCandidatedoesn't check evaluation metrics against this list. You can't change the list after you create the leaderboard.- Parameters:
requiredMetrics- The metrics that you expect each candidate on the leaderboard to report, grouped by evaluation criterion. SageMaker stores this list with the leaderboard and returns it inGetLeaderboard.AddCandidatedoesn't check evaluation metrics against this list. You can't change the list after you create the leaderboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requiredMetrics
The metrics that you expect each candidate on the leaderboard to report, grouped by evaluation criterion. SageMaker stores this list with the leaderboard and returns it in
GetLeaderboard.AddCandidatedoesn't check evaluation metrics against this list. You can't change the list after you create the leaderboard.- Parameters:
requiredMetrics- The metrics that you expect each candidate on the leaderboard to report, grouped by evaluation criterion. SageMaker stores this list with the leaderboard and returns it inGetLeaderboard.AddCandidatedoesn't check evaluation metrics against this list. You can't change the list after you create the leaderboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requiredMetrics
CreateLeaderboardRequest.Builder requiredMetrics(Consumer<LeaderboardRequiredMetric.Builder>... requiredMetrics) The metrics that you expect each candidate on the leaderboard to report, grouped by evaluation criterion. SageMaker stores this list with the leaderboard and returns it in
This is a convenience method that creates an instance of theGetLeaderboard.AddCandidatedoesn't check evaluation metrics against this list. You can't change the list after you create the leaderboard.LeaderboardRequiredMetric.Builderavoiding the need to create one manually viaLeaderboardRequiredMetric.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torequiredMetrics(List<LeaderboardRequiredMetric>).- Parameters:
requiredMetrics- a consumer that will call methods onLeaderboardRequiredMetric.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier for the request. If you don't specify a client token, the Amazon Web Services SDKs and the Amazon Web Services CLI generate one for you.
- Parameters:
clientToken- A unique, case-sensitive identifier for the request. If you don't specify a client token, the Amazon Web Services SDKs and the Amazon Web Services CLI generate one for you.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to apply to the leaderboard. You can add tags to your leaderboard in the same way you add them in other Amazon Web Services services that support tagging. For more information about tagging Amazon Web Services resources, see Tagging your Amazon Web Services resources in the Tagging Amazon Web Services Resources User Guide.
- Parameters:
tags- Tags to apply to the leaderboard. You can add tags to your leaderboard in the same way you add them in other Amazon Web Services services that support tagging. For more information about tagging Amazon Web Services resources, see Tagging your Amazon Web Services resources in the Tagging Amazon Web Services Resources User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to apply to the leaderboard. You can add tags to your leaderboard in the same way you add them in other Amazon Web Services services that support tagging. For more information about tagging Amazon Web Services resources, see Tagging your Amazon Web Services resources in the Tagging Amazon Web Services Resources User Guide.
- Parameters:
tags- Tags to apply to the leaderboard. You can add tags to your leaderboard in the same way you add them in other Amazon Web Services services that support tagging. For more information about tagging Amazon Web Services resources, see Tagging your Amazon Web Services resources in the Tagging Amazon Web Services Resources User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to apply to the leaderboard. You can add tags to your leaderboard in the same way you add them in other Amazon Web Services services that support tagging. For more information about tagging Amazon Web Services resources, see Tagging your Amazon Web Services resources in the Tagging Amazon Web Services Resources User Guide.
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
CreateLeaderboardRequest.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
CreateLeaderboardRequest.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.
-