@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AudienceSize extends Object implements Serializable, Cloneable, StructuredPojo
The size of the generated audience. Must match one of the sizes in the configured audience model.
| Constructor and Description |
|---|
AudienceSize() |
| Modifier and Type | Method and Description |
|---|---|
AudienceSize |
clone() |
boolean |
equals(Object obj) |
String |
getType()
Whether the audience size is defined in absolute terms or as a percentage.
|
Integer |
getValue()
Specify an audience size value.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setType(String type)
Whether the audience size is defined in absolute terms or as a percentage.
|
void |
setValue(Integer value)
Specify an audience size value.
|
String |
toString()
Returns a string representation of this object.
|
AudienceSize |
withType(AudienceSizeType type)
Whether the audience size is defined in absolute terms or as a percentage.
|
AudienceSize |
withType(String type)
Whether the audience size is defined in absolute terms or as a percentage.
|
AudienceSize |
withValue(Integer value)
Specify an audience size value.
|
public void setType(String type)
Whether the audience size is defined in absolute terms or as a percentage. You can use the ABSOLUTE
AudienceSize to configure out audience sizes using the count of identifiers in the output. You can use the
Percentage AudienceSize to configure sizes in the range 1-100 percent.
type - Whether the audience size is defined in absolute terms or as a percentage. You can use the
ABSOLUTE AudienceSize to configure out audience sizes using the count of identifiers
in the output. You can use the Percentage AudienceSize to configure sizes in the range
1-100 percent.AudienceSizeTypepublic String getType()
Whether the audience size is defined in absolute terms or as a percentage. You can use the ABSOLUTE
AudienceSize to configure out audience sizes using the count of identifiers in the output. You can use the
Percentage AudienceSize to configure sizes in the range 1-100 percent.
ABSOLUTE AudienceSize to configure out audience sizes using the count of identifiers
in the output. You can use the Percentage AudienceSize to configure sizes in the
range 1-100 percent.AudienceSizeTypepublic AudienceSize withType(String type)
Whether the audience size is defined in absolute terms or as a percentage. You can use the ABSOLUTE
AudienceSize to configure out audience sizes using the count of identifiers in the output. You can use the
Percentage AudienceSize to configure sizes in the range 1-100 percent.
type - Whether the audience size is defined in absolute terms or as a percentage. You can use the
ABSOLUTE AudienceSize to configure out audience sizes using the count of identifiers
in the output. You can use the Percentage AudienceSize to configure sizes in the range
1-100 percent.AudienceSizeTypepublic AudienceSize withType(AudienceSizeType type)
Whether the audience size is defined in absolute terms or as a percentage. You can use the ABSOLUTE
AudienceSize to configure out audience sizes using the count of identifiers in the output. You can use the
Percentage AudienceSize to configure sizes in the range 1-100 percent.
type - Whether the audience size is defined in absolute terms or as a percentage. You can use the
ABSOLUTE AudienceSize to configure out audience sizes using the count of identifiers
in the output. You can use the Percentage AudienceSize to configure sizes in the range
1-100 percent.AudienceSizeTypepublic void setValue(Integer value)
Specify an audience size value.
value - Specify an audience size value.public Integer getValue()
Specify an audience size value.
public AudienceSize withValue(Integer value)
Specify an audience size value.
value - Specify an audience size value.public String toString()
toString in class ObjectObject.toString()public AudienceSize clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.