Class ModelInferencePaymentConfig
- java.lang.Object
-
- software.amazon.awssdk.services.cleanrooms.model.ModelInferencePaymentConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ModelInferencePaymentConfig.Builder,ModelInferencePaymentConfig>
@Generated("software.amazon.awssdk:codegen") public final class ModelInferencePaymentConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ModelInferencePaymentConfig.Builder,ModelInferencePaymentConfig>
An object representing the collaboration member's model inference payment responsibilities set by the collaboration creator.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceModelInferencePaymentConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModelInferencePaymentConfig.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 inference costs (TRUE) or has not configured the collaboration member to pay for model inference costs (FALSE).Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ModelInferencePaymentConfig.Builder>serializableBuilderClass()ModelInferencePaymentConfig.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 inference costs (
TRUE) or has not configured the collaboration member to pay for model inference costs (FALSE).Exactly one member can be configured to pay for model inference 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 inference 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
inference costs (
TRUE) or has not configured the collaboration member to pay for model inference costs (FALSE).Exactly one member can be configured to pay for model inference 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 inference 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 ModelInferencePaymentConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ModelInferencePaymentConfig.Builder,ModelInferencePaymentConfig>
-
builder
public static ModelInferencePaymentConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends ModelInferencePaymentConfig.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
-
-