Interface GetLeaderboardResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetLeaderboardResponse.Builder,,GetLeaderboardResponse> SageMakerResponse.Builder,SdkBuilder<GetLeaderboardResponse.Builder,,GetLeaderboardResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetLeaderboardResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the leaderboard.creationTime(Instant creationTime) When the leaderboard was created.description(String description) The description of the leaderboard.The name of the leaderboard.requiredMetrics(Collection<LeaderboardRequiredMetric> requiredMetrics) The metrics that you specified for the leaderboard when you created it, grouped by evaluation criterion.requiredMetrics(Consumer<LeaderboardRequiredMetric.Builder>... requiredMetrics) The metrics that you specified for the leaderboard when you created it, grouped by evaluation criterion.requiredMetrics(LeaderboardRequiredMetric... requiredMetrics) The metrics that you specified for the leaderboard when you created it, grouped by evaluation criterion.tags(Collection<Tag> tags) GetLeaderboarddoesn't return this field.tags(Consumer<Tag.Builder>... tags) GetLeaderboarddoesn't return this field.GetLeaderboarddoesn't return this field.The type of the leaderboard.type(LeaderboardType type) The type of the leaderboard.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the leaderboard.
- Parameters:
arn- The Amazon Resource Name (ARN) of the leaderboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the leaderboard.
- Parameters:
name- The name of the leaderboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of the leaderboard.
- Parameters:
type- The type of the leaderboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the leaderboard.
- Parameters:
type- The type of the leaderboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The description of the leaderboard.
- Parameters:
description- The description of the leaderboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requiredMetrics
GetLeaderboardResponse.Builder requiredMetrics(Collection<LeaderboardRequiredMetric> requiredMetrics) The metrics that you specified for the leaderboard when you created it, grouped by evaluation criterion.
- Parameters:
requiredMetrics- The metrics that you specified for the leaderboard when you created it, grouped by evaluation criterion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requiredMetrics
The metrics that you specified for the leaderboard when you created it, grouped by evaluation criterion.
- Parameters:
requiredMetrics- The metrics that you specified for the leaderboard when you created it, grouped by evaluation criterion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requiredMetrics
GetLeaderboardResponse.Builder requiredMetrics(Consumer<LeaderboardRequiredMetric.Builder>... requiredMetrics) The metrics that you specified for the leaderboard when you created it, grouped by evaluation criterion.
This is a convenience method that creates an instance of theLeaderboardRequiredMetric.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:
-
tags
GetLeaderboarddoesn't return this field. To get the tags of a leaderboard, useListTags.- Parameters:
tags-GetLeaderboarddoesn't return this field. To get the tags of a leaderboard, useListTags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
GetLeaderboarddoesn't return this field. To get the tags of a leaderboard, useListTags.- Parameters:
tags-GetLeaderboarddoesn't return this field. To get the tags of a leaderboard, useListTags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
This is a convenience method that creates an instance of theGetLeaderboarddoesn't return this field. To get the tags of a leaderboard, useListTags.Tag.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:
-
creationTime
When the leaderboard was created.
- Parameters:
creationTime- When the leaderboard was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-