Class CfnCollaboration.ModelTrainingPaymentConfigProperty.Builder

java.lang.Object
software.amazon.awscdk.services.cleanrooms.CfnCollaboration.ModelTrainingPaymentConfigProperty.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCollaboration.ModelTrainingPaymentConfigProperty>
Enclosing interface:
CfnCollaboration.ModelTrainingPaymentConfigProperty

@Stability(Stable) public static final class CfnCollaboration.ModelTrainingPaymentConfigProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnCollaboration.ModelTrainingPaymentConfigProperty>
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • isResponsible

      @Stability(Stable) public CfnCollaboration.ModelTrainingPaymentConfigProperty.Builder isResponsible(Boolean isResponsible)
      Parameters:
      isResponsible - Indicates whether the collaboration creator has configured the collaboration member to pay for model training costs ( TRUE ) or has not configured the collaboration member to pay for model training costs ( FALSE ). This parameter is required. Exactly one member can be configured to pay for model training costs. An error is returned if the collaboration creator sets a TRUE value for more than one member in the collaboration.

      If the collaboration creator hasn't specified anyone as the member paying for model training costs, then the member who can query is the default payer. An error is returned if the collaboration creator sets a FALSE value for the member who can query.

      Returns:
      this
    • isResponsible

      @Stability(Stable) public CfnCollaboration.ModelTrainingPaymentConfigProperty.Builder isResponsible(IResolvable isResponsible)
      Parameters:
      isResponsible - Indicates whether the collaboration creator has configured the collaboration member to pay for model training costs ( TRUE ) or has not configured the collaboration member to pay for model training costs ( FALSE ). This parameter is required. Exactly one member can be configured to pay for model training costs. An error is returned if the collaboration creator sets a TRUE value for more than one member in the collaboration.

      If the collaboration creator hasn't specified anyone as the member paying for model training costs, then the member who can query is the default payer. An error is returned if the collaboration creator sets a FALSE value for the member who can query.

      Returns:
      this
    • build

      @Stability(Stable) public CfnCollaboration.ModelTrainingPaymentConfigProperty build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnCollaboration.ModelTrainingPaymentConfigProperty>
      Returns:
      a new instance of CfnCollaboration.ModelTrainingPaymentConfigProperty
      Throws:
      NullPointerException - if any required attribute was not provided