@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AudienceSizeConfig extends Object implements Serializable, Cloneable, StructuredPojo
Configure the list of audience output sizes that can be created. A request to StartAudienceGenerationJob that
uses this configured audience model must have an audienceSize
selected from this list. 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.
Constructor and Description |
---|
AudienceSizeConfig() |
Modifier and Type | Method and Description |
---|---|
AudienceSizeConfig |
clone() |
boolean |
equals(Object obj) |
List<Integer> |
getAudienceSizeBins()
An array of the different audience output sizes.
|
String |
getAudienceSizeType()
Whether the audience output sizes are defined as an absolute number or a percentage.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAudienceSizeBins(Collection<Integer> audienceSizeBins)
An array of the different audience output sizes.
|
void |
setAudienceSizeType(String audienceSizeType)
Whether the audience output sizes are defined as an absolute number or a percentage.
|
String |
toString()
Returns a string representation of this object.
|
AudienceSizeConfig |
withAudienceSizeBins(Collection<Integer> audienceSizeBins)
An array of the different audience output sizes.
|
AudienceSizeConfig |
withAudienceSizeBins(Integer... audienceSizeBins)
An array of the different audience output sizes.
|
AudienceSizeConfig |
withAudienceSizeType(AudienceSizeType audienceSizeType)
Whether the audience output sizes are defined as an absolute number or a percentage.
|
AudienceSizeConfig |
withAudienceSizeType(String audienceSizeType)
Whether the audience output sizes are defined as an absolute number or a percentage.
|
public List<Integer> getAudienceSizeBins()
An array of the different audience output sizes.
public void setAudienceSizeBins(Collection<Integer> audienceSizeBins)
An array of the different audience output sizes.
audienceSizeBins
- An array of the different audience output sizes.public AudienceSizeConfig withAudienceSizeBins(Integer... audienceSizeBins)
An array of the different audience output sizes.
NOTE: This method appends the values to the existing list (if any). Use
setAudienceSizeBins(java.util.Collection)
or withAudienceSizeBins(java.util.Collection)
if you
want to override the existing values.
audienceSizeBins
- An array of the different audience output sizes.public AudienceSizeConfig withAudienceSizeBins(Collection<Integer> audienceSizeBins)
An array of the different audience output sizes.
audienceSizeBins
- An array of the different audience output sizes.public void setAudienceSizeType(String audienceSizeType)
Whether the audience output sizes are defined as an absolute number or a percentage.
audienceSizeType
- Whether the audience output sizes are defined as an absolute number or a percentage.AudienceSizeType
public String getAudienceSizeType()
Whether the audience output sizes are defined as an absolute number or a percentage.
AudienceSizeType
public AudienceSizeConfig withAudienceSizeType(String audienceSizeType)
Whether the audience output sizes are defined as an absolute number or a percentage.
audienceSizeType
- Whether the audience output sizes are defined as an absolute number or a percentage.AudienceSizeType
public AudienceSizeConfig withAudienceSizeType(AudienceSizeType audienceSizeType)
Whether the audience output sizes are defined as an absolute number or a percentage.
audienceSizeType
- Whether the audience output sizes are defined as an absolute number or a percentage.AudienceSizeType
public String toString()
toString
in class Object
Object.toString()
public AudienceSizeConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.