@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 |
addMetricsEntry(String key,
MetricDimension value) |
SegmentDimensions |
addUserAttributesEntry(String key,
AttributeDimension value) |
SegmentDimensions |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
SegmentDimensions |
clearMetricsEntries()
Removes all the entries added into Metrics.
|
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,MetricDimension> |
getMetrics()
Custom segment metrics.
|
Map<String,AttributeDimension> |
getUserAttributes()
Custom segment user attributes.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller 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 |
setMetrics(Map<String,MetricDimension> metrics)
Custom segment metrics.
|
void |
setUserAttributes(Map<String,AttributeDimension> userAttributes)
Custom segment user attributes.
|
String |
toString()
Returns a string representation of this object.
|
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 |
withMetrics(Map<String,MetricDimension> metrics)
Custom segment metrics.
|
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,MetricDimension> getMetrics()
public void setMetrics(Map<String,MetricDimension> metrics)
metrics - Custom segment metrics.public SegmentDimensions withMetrics(Map<String,MetricDimension> metrics)
metrics - Custom segment metrics.public SegmentDimensions addMetricsEntry(String key, MetricDimension value)
public SegmentDimensions clearMetricsEntries()
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 ObjectObject.toString()public SegmentDimensions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.