public class SetDimension
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
SetDimension() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDimensionType()
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 |
setDimensionType(DimensionType dimensionType)
The type of dimension: INCLUSIVE - Endpoints that match the criteria are
included in the segment.
|
void |
setDimensionType(java.lang.String dimensionType)
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.
|
SetDimension |
withDimensionType(DimensionType dimensionType)
The type of dimension: INCLUSIVE - Endpoints that match the criteria are
included in the segment.
|
SetDimension |
withDimensionType(java.lang.String dimensionType)
The type of dimension: INCLUSIVE - Endpoints that match the criteria are
included in the segment.
|
SetDimension |
withValues(java.util.Collection<java.lang.String> values)
The criteria values for the segment dimension.
|
SetDimension |
withValues(java.lang.String... values)
The criteria values for the segment dimension.
|
public java.lang.String getDimensionType()
Constraints:
Allowed Values: INCLUSIVE, EXCLUSIVE
DimensionType
public void setDimensionType(java.lang.String dimensionType)
Constraints:
Allowed Values: INCLUSIVE, EXCLUSIVE
dimensionType
- 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.DimensionType
public SetDimension withDimensionType(java.lang.String dimensionType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: INCLUSIVE, EXCLUSIVE
dimensionType
- 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.DimensionType
public void setDimensionType(DimensionType dimensionType)
Constraints:
Allowed Values: INCLUSIVE, EXCLUSIVE
dimensionType
- 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.DimensionType
public SetDimension withDimensionType(DimensionType dimensionType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: INCLUSIVE, EXCLUSIVE
dimensionType
- 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.DimensionType
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 SetDimension 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 SetDimension 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.