Interface LeaderboardCandidateConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LeaderboardCandidateConfig.Builder,,LeaderboardCandidateConfig> SdkBuilder<LeaderboardCandidateConfig.Builder,,LeaderboardCandidateConfig> SdkPojo
- Enclosing class:
LeaderboardCandidateConfig
@Mutable
@NotThreadSafe
public static interface LeaderboardCandidateConfig.Builder
extends SdkPojo, CopyableBuilder<LeaderboardCandidateConfig.Builder,LeaderboardCandidateConfig>
-
Method Summary
Modifier and TypeMethodDescriptioncustomerModelConfig(Consumer<LeaderboardCustomerModelConfig.Builder> customerModelConfig) The configuration of a candidate that is one of your models.customerModelConfig(LeaderboardCustomerModelConfig customerModelConfig) The configuration of a candidate that is one of your models.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
customerModelConfig
LeaderboardCandidateConfig.Builder customerModelConfig(LeaderboardCustomerModelConfig customerModelConfig) The configuration of a candidate that is one of your models.
- Parameters:
customerModelConfig- The configuration of a candidate that is one of your models.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerModelConfig
default LeaderboardCandidateConfig.Builder customerModelConfig(Consumer<LeaderboardCustomerModelConfig.Builder> customerModelConfig) The configuration of a candidate that is one of your models.
This is a convenience method that creates an instance of theLeaderboardCustomerModelConfig.Builderavoiding the need to create one manually viaLeaderboardCustomerModelConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomerModelConfig(LeaderboardCustomerModelConfig).- Parameters:
customerModelConfig- a consumer that will call methods onLeaderboardCustomerModelConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-