Class ModelTrainingPaymentConfig
- java.lang.Object
-
- software.amazon.awssdk.services.cleanrooms.model.ModelTrainingPaymentConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ModelTrainingPaymentConfig.Builder,ModelTrainingPaymentConfig>
@Generated("software.amazon.awssdk:codegen") public final class ModelTrainingPaymentConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ModelTrainingPaymentConfig.Builder,ModelTrainingPaymentConfig>
An object representing the collaboration member's model training payment responsibilities set by the collaboration creator.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceModelTrainingPaymentConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModelTrainingPaymentConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanisResponsible()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).Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ModelTrainingPaymentConfig.Builder>serializableBuilderClass()ModelTrainingPaymentConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
isResponsible
public final Boolean 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).Exactly one member can be configured to pay for model training costs. An error is returned if the collaboration creator sets a
TRUEvalue 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
FALSEvalue for the member who can query.- Returns:
- 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).Exactly one member can be configured to pay for model training costs. An error is returned if the collaboration creator sets a
TRUEvalue 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
FALSEvalue for the member who can query.
-
toBuilder
public ModelTrainingPaymentConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ModelTrainingPaymentConfig.Builder,ModelTrainingPaymentConfig>
-
builder
public static ModelTrainingPaymentConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends ModelTrainingPaymentConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-