@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttributeDimension extends Object implements Serializable, Cloneable, StructuredPojo
Specifies attribute-based criteria for including or excluding endpoints from a segment.
Constructor and Description |
---|
AttributeDimension() |
Modifier and Type | Method and Description |
---|---|
AttributeDimension |
clone() |
boolean |
equals(Object obj) |
String |
getAttributeType()
The type of segment dimension to use.
|
List<String> |
getValues()
The criteria values to use for the segment dimension.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributeType(AttributeType attributeType)
The type of segment dimension to use.
|
void |
setAttributeType(String attributeType)
The type of segment dimension to use.
|
void |
setValues(Collection<String> values)
The criteria values to use for the segment dimension.
|
String |
toString()
Returns a string representation of this object.
|
AttributeDimension |
withAttributeType(AttributeType attributeType)
The type of segment dimension to use.
|
AttributeDimension |
withAttributeType(String attributeType)
The type of segment dimension to use.
|
AttributeDimension |
withValues(Collection<String> values)
The criteria values to use for the segment dimension.
|
AttributeDimension |
withValues(String... values)
The criteria values to use for the segment dimension.
|
public void setAttributeType(String attributeType)
The type of segment dimension to use. Valid values are:
attributeType
- The type of segment dimension to use. Valid values are:
AttributeType
public String getAttributeType()
The type of segment dimension to use. Valid values are:
AttributeType
public AttributeDimension withAttributeType(String attributeType)
The type of segment dimension to use. Valid values are:
attributeType
- The type of segment dimension to use. Valid values are:
AttributeType
public void setAttributeType(AttributeType attributeType)
The type of segment dimension to use. Valid values are:
attributeType
- The type of segment dimension to use. Valid values are:
AttributeType
public AttributeDimension withAttributeType(AttributeType attributeType)
The type of segment dimension to use. Valid values are:
attributeType
- The type of segment dimension to use. Valid values are:
AttributeType
public List<String> getValues()
The criteria values to use for the segment dimension. Depending on the value of the AttributeType property, endpoints are included or excluded from the segment if their attribute values match the criteria values.
public void setValues(Collection<String> values)
The criteria values to use for the segment dimension. Depending on the value of the AttributeType property, endpoints are included or excluded from the segment if their attribute values match the criteria values.
values
- The criteria values to use for the segment dimension. Depending on the value of the AttributeType
property, endpoints are included or excluded from the segment if their attribute values match the criteria
values.public AttributeDimension withValues(String... values)
The criteria values to use for the segment dimension. Depending on the value of the AttributeType property, endpoints are included or excluded from the segment if their attribute values match the criteria values.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection)
or withValues(java.util.Collection)
if you want to override the
existing values.
values
- The criteria values to use for the segment dimension. Depending on the value of the AttributeType
property, endpoints are included or excluded from the segment if their attribute values match the criteria
values.public AttributeDimension withValues(Collection<String> values)
The criteria values to use for the segment dimension. Depending on the value of the AttributeType property, endpoints are included or excluded from the segment if their attribute values match the criteria values.
values
- The criteria values to use for the segment dimension. Depending on the value of the AttributeType
property, endpoints are included or excluded from the segment if their attribute values match the criteria
values.public String toString()
toString
in class Object
Object.toString()
public AttributeDimension clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.