Class AudienceSize
- java.lang.Object
-
- software.amazon.awssdk.services.cleanroomsml.model.AudienceSize
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AudienceSize.Builder,AudienceSize>
@Generated("software.amazon.awssdk:codegen") public final class AudienceSize extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AudienceSize.Builder,AudienceSize>
The size of the generated audience. Must match one of the sizes in the configured audience model.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAudienceSize.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AudienceSize.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends AudienceSize.Builder>serializableBuilderClass()AudienceSize.BuildertoBuilder()StringtoString()Returns a string representation of this object.AudienceSizeTypetype()Whether the audience size is defined in absolute terms or as a percentage.StringtypeAsString()Whether the audience size is defined in absolute terms or as a percentage.Integervalue()Specify an audience size value.-
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
-
type
public final AudienceSizeType type()
Whether the audience size is defined in absolute terms or as a percentage. You can use the
ABSOLUTEAudienceSize to configure out audience sizes using the count of identifiers in the output. You can use thePercentageAudienceSize to configure sizes in the range 1-100 percent.If the service returns an enum value that is not available in the current SDK version,
typewill returnAudienceSizeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Whether the audience size is defined in absolute terms or as a percentage. You can use the
ABSOLUTEAudienceSize to configure out audience sizes using the count of identifiers in the output. You can use thePercentageAudienceSize to configure sizes in the range 1-100 percent. - See Also:
AudienceSizeType
-
typeAsString
public final String typeAsString()
Whether the audience size is defined in absolute terms or as a percentage. You can use the
ABSOLUTEAudienceSize to configure out audience sizes using the count of identifiers in the output. You can use thePercentageAudienceSize to configure sizes in the range 1-100 percent.If the service returns an enum value that is not available in the current SDK version,
typewill returnAudienceSizeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Whether the audience size is defined in absolute terms or as a percentage. You can use the
ABSOLUTEAudienceSize to configure out audience sizes using the count of identifiers in the output. You can use thePercentageAudienceSize to configure sizes in the range 1-100 percent. - See Also:
AudienceSizeType
-
value
public final Integer value()
Specify an audience size value.
- Returns:
- Specify an audience size value.
-
toBuilder
public AudienceSize.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AudienceSize.Builder,AudienceSize>
-
builder
public static AudienceSize.Builder builder()
-
serializableBuilderClass
public static Class<? extends AudienceSize.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.
-
-