@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SegmentDimensions extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
SegmentDimensions() |
Modifier and Type | Method and Description |
---|---|
SegmentDimensions |
addAttributesEntry(String key,
AttributeDimension value) |
SegmentDimensions |
addUserAttributesEntry(String key,
AttributeDimension value) |
SegmentDimensions |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
SegmentDimensions |
clearUserAttributesEntries()
Removes all the entries added into UserAttributes.
|
SegmentDimensions |
clone() |
boolean |
equals(Object obj) |
Map<String,AttributeDimension> |
getAttributes()
Custom segment attributes.
|
SegmentBehaviors |
getBehavior()
The segment behaviors attributes.
|
SegmentDemographics |
getDemographic()
The segment demographics attributes.
|
SegmentLocation |
getLocation()
The segment location attributes.
|
Map<String,AttributeDimension> |
getUserAttributes()
Custom segment user attributes.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributes(Map<String,AttributeDimension> attributes)
Custom segment attributes.
|
void |
setBehavior(SegmentBehaviors behavior)
The segment behaviors attributes.
|
void |
setDemographic(SegmentDemographics demographic)
The segment demographics attributes.
|
void |
setLocation(SegmentLocation location)
The segment location attributes.
|
void |
setUserAttributes(Map<String,AttributeDimension> userAttributes)
Custom segment user attributes.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SegmentDimensions |
withAttributes(Map<String,AttributeDimension> attributes)
Custom segment attributes.
|
SegmentDimensions |
withBehavior(SegmentBehaviors behavior)
The segment behaviors attributes.
|
SegmentDimensions |
withDemographic(SegmentDemographics demographic)
The segment demographics attributes.
|
SegmentDimensions |
withLocation(SegmentLocation location)
The segment location attributes.
|
SegmentDimensions |
withUserAttributes(Map<String,AttributeDimension> userAttributes)
Custom segment user attributes.
|
public Map<String,AttributeDimension> getAttributes()
public void setAttributes(Map<String,AttributeDimension> attributes)
attributes
- Custom segment attributes.public SegmentDimensions withAttributes(Map<String,AttributeDimension> attributes)
attributes
- Custom segment attributes.public SegmentDimensions addAttributesEntry(String key, AttributeDimension value)
public SegmentDimensions clearAttributesEntries()
public void setBehavior(SegmentBehaviors behavior)
behavior
- The segment behaviors attributes.public SegmentBehaviors getBehavior()
public SegmentDimensions withBehavior(SegmentBehaviors behavior)
behavior
- The segment behaviors attributes.public void setDemographic(SegmentDemographics demographic)
demographic
- The segment demographics attributes.public SegmentDemographics getDemographic()
public SegmentDimensions withDemographic(SegmentDemographics demographic)
demographic
- The segment demographics attributes.public void setLocation(SegmentLocation location)
location
- The segment location attributes.public SegmentLocation getLocation()
public SegmentDimensions withLocation(SegmentLocation location)
location
- The segment location attributes.public Map<String,AttributeDimension> getUserAttributes()
public void setUserAttributes(Map<String,AttributeDimension> userAttributes)
userAttributes
- Custom segment user attributes.public SegmentDimensions withUserAttributes(Map<String,AttributeDimension> userAttributes)
userAttributes
- Custom segment user attributes.public SegmentDimensions addUserAttributesEntry(String key, AttributeDimension value)
public SegmentDimensions clearUserAttributesEntries()
public String toString()
toString
in class Object
Object.toString()
public SegmentDimensions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.