Interface CreateLeaderboardRequest.Builder

  • 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

      CreateLeaderboardRequest.Builder description(String 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

      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. AddCandidate doesn'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 in GetLeaderboard. AddCandidate doesn'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(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. AddCandidate doesn'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 in GetLeaderboard. AddCandidate doesn'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. AddCandidate doesn't check evaluation metrics against this list. You can't change the list after you create the leaderboard.

      This is a convenience method that creates an instance of the LeaderboardRequiredMetric.Builder avoiding the need to create one manually via LeaderboardRequiredMetric.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to requiredMetrics(List<LeaderboardRequiredMetric>).

      Parameters:
      requiredMetrics - a consumer that will call methods on LeaderboardRequiredMetric.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • clientToken

      CreateLeaderboardRequest.Builder clientToken(String 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 the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.