public class AttributeDimension
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
AttributeDimension() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAttributeType()
The type of dimension: INCLUSIVE - Endpoints that match the criteria are
included in the segment.
|
java.util.List<java.lang.String> |
getValues()
The criteria values for the segment dimension.
|
int |
hashCode() |
void |
setAttributeType(AttributeType attributeType)
The type of dimension: INCLUSIVE - Endpoints that match the criteria are
included in the segment.
|
void |
setAttributeType(java.lang.String attributeType)
The type of dimension: INCLUSIVE - Endpoints that match the criteria are
included in the segment.
|
void |
setValues(java.util.Collection<java.lang.String> values)
The criteria values for the segment dimension.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AttributeDimension |
withAttributeType(AttributeType attributeType)
The type of dimension: INCLUSIVE - Endpoints that match the criteria are
included in the segment.
|
AttributeDimension |
withAttributeType(java.lang.String attributeType)
The type of dimension: INCLUSIVE - Endpoints that match the criteria are
included in the segment.
|
AttributeDimension |
withValues(java.util.Collection<java.lang.String> values)
The criteria values for the segment dimension.
|
AttributeDimension |
withValues(java.lang.String... values)
The criteria values for the segment dimension.
|
public java.lang.String getAttributeType()
Constraints:
Allowed Values: INCLUSIVE, EXCLUSIVE
AttributeType
public void setAttributeType(java.lang.String attributeType)
Constraints:
Allowed Values: INCLUSIVE, EXCLUSIVE
attributeType
- The type of dimension: INCLUSIVE - Endpoints that
match the criteria are included in the segment. EXCLUSIVE -
Endpoints that match the criteria are excluded from the
segment.AttributeType
public AttributeDimension withAttributeType(java.lang.String attributeType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: INCLUSIVE, EXCLUSIVE
attributeType
- The type of dimension: INCLUSIVE - Endpoints that
match the criteria are included in the segment. EXCLUSIVE -
Endpoints that match the criteria are excluded from the
segment.AttributeType
public void setAttributeType(AttributeType attributeType)
Constraints:
Allowed Values: INCLUSIVE, EXCLUSIVE
attributeType
- The type of dimension: INCLUSIVE - Endpoints that
match the criteria are included in the segment. EXCLUSIVE -
Endpoints that match the criteria are excluded from the
segment.AttributeType
public AttributeDimension withAttributeType(AttributeType attributeType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: INCLUSIVE, EXCLUSIVE
attributeType
- The type of dimension: INCLUSIVE - Endpoints that
match the criteria are included in the segment. EXCLUSIVE -
Endpoints that match the criteria are excluded from the
segment.AttributeType
public java.util.List<java.lang.String> getValues()
public void setValues(java.util.Collection<java.lang.String> values)
values
- The criteria values for the segment dimension. Endpoints
with matching attribute values are included or excluded from
the segment, depending on the setting for Type.public AttributeDimension withValues(java.lang.String... values)
Returns a reference to this object so that method calls can be chained together.
values
- The criteria values for the segment dimension. Endpoints
with matching attribute values are included or excluded from
the segment, depending on the setting for Type.public AttributeDimension withValues(java.util.Collection<java.lang.String> values)
Returns a reference to this object so that method calls can be chained together.
values
- The criteria values for the segment dimension. Endpoints
with matching attribute values are included or excluded from
the segment, depending on the setting for Type.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.