Class MembershipModelInferencePaymentConfig
- java.lang.Object
-
- software.amazon.awssdk.services.cleanrooms.model.MembershipModelInferencePaymentConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MembershipModelInferencePaymentConfig.Builder,MembershipModelInferencePaymentConfig>
@Generated("software.amazon.awssdk:codegen") public final class MembershipModelInferencePaymentConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MembershipModelInferencePaymentConfig.Builder,MembershipModelInferencePaymentConfig>
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 interfaceMembershipModelInferencePaymentConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MembershipModelInferencePaymentConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanisResponsible()Indicates whether the collaboration member has accepted to pay for model inference costs (TRUE) or has not accepted to pay for model inference costs (FALSE).Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends MembershipModelInferencePaymentConfig.Builder>serializableBuilderClass()MembershipModelInferencePaymentConfig.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 member has accepted to pay for model inference costs (
TRUE) or has not accepted to pay for model inference costs (FALSE).If the collaboration creator has not specified anyone to pay for model inference costs, then the member who can query is the default payer.
An error message is returned for the following reasons:
-
If you set the value to
FALSEbut you are responsible to pay for model inference costs. -
If you set the value to
TRUEbut you are not responsible to pay for model inference costs.
- Returns:
- Indicates whether the collaboration member has accepted to pay for model inference costs (
TRUE) or has not accepted to pay for model inference costs (FALSE).If the collaboration creator has not specified anyone to pay for model inference costs, then the member who can query is the default payer.
An error message is returned for the following reasons:
-
If you set the value to
FALSEbut you are responsible to pay for model inference costs. -
If you set the value to
TRUEbut you are not responsible to pay for model inference costs.
-
-
-
toBuilder
public MembershipModelInferencePaymentConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MembershipModelInferencePaymentConfig.Builder,MembershipModelInferencePaymentConfig>
-
builder
public static MembershipModelInferencePaymentConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends MembershipModelInferencePaymentConfig.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
-
-