@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SetDimension extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the dimension type and values for a segment dimension.
Constructor and Description |
---|
SetDimension() |
Modifier and Type | Method and Description |
---|---|
SetDimension |
clone() |
boolean |
equals(Object obj) |
String |
getDimensionType()
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) |
void |
setDimensionType(DimensionType dimensionType)
The type of segment dimension to use.
|
void |
setDimensionType(String dimensionType)
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.
|
SetDimension |
withDimensionType(DimensionType dimensionType)
The type of segment dimension to use.
|
SetDimension |
withDimensionType(String dimensionType)
The type of segment dimension to use.
|
SetDimension |
withValues(Collection<String> values)
The criteria values to use for the segment dimension.
|
SetDimension |
withValues(String... values)
The criteria values to use for the segment dimension.
|
public void setDimensionType(String dimensionType)
The type of segment dimension to use. Valid values are: INCLUSIVE, endpoints that match the criteria are included in the segment; and, EXCLUSIVE, endpoints that match the criteria are excluded from the segment.
dimensionType
- The type of segment dimension to use. Valid values are: INCLUSIVE, endpoints that match the criteria are
included in the segment; and, EXCLUSIVE, endpoints that match the criteria are excluded from the segment.DimensionType
public String getDimensionType()
The type of segment dimension to use. Valid values are: INCLUSIVE, endpoints that match the criteria are included in the segment; and, EXCLUSIVE, endpoints that match the criteria are excluded from the segment.
DimensionType
public SetDimension withDimensionType(String dimensionType)
The type of segment dimension to use. Valid values are: INCLUSIVE, endpoints that match the criteria are included in the segment; and, EXCLUSIVE, endpoints that match the criteria are excluded from the segment.
dimensionType
- The type of segment dimension to use. Valid values are: INCLUSIVE, endpoints that match the criteria are
included in the segment; and, EXCLUSIVE, endpoints that match the criteria are excluded from the segment.DimensionType
public void setDimensionType(DimensionType dimensionType)
The type of segment dimension to use. Valid values are: INCLUSIVE, endpoints that match the criteria are included in the segment; and, EXCLUSIVE, endpoints that match the criteria are excluded from the segment.
dimensionType
- The type of segment dimension to use. Valid values are: INCLUSIVE, endpoints that match the criteria are
included in the segment; and, EXCLUSIVE, endpoints that match the criteria are excluded from the segment.DimensionType
public SetDimension withDimensionType(DimensionType dimensionType)
The type of segment dimension to use. Valid values are: INCLUSIVE, endpoints that match the criteria are included in the segment; and, EXCLUSIVE, endpoints that match the criteria are excluded from the segment.
dimensionType
- The type of segment dimension to use. Valid values are: INCLUSIVE, endpoints that match the criteria are
included in the segment; and, EXCLUSIVE, endpoints that match the criteria are excluded from the segment.DimensionType
public List<String> getValues()
The criteria values to use for the segment dimension. Depending on the value of the DimensionType property, endpoints are included or excluded from the segment if their 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 DimensionType property, endpoints are included or excluded from the segment if their values match the criteria values.
values
- The criteria values to use for the segment dimension. Depending on the value of the DimensionType
property, endpoints are included or excluded from the segment if their values match the criteria values.public SetDimension withValues(String... values)
The criteria values to use for the segment dimension. Depending on the value of the DimensionType property, endpoints are included or excluded from the segment if their 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 DimensionType
property, endpoints are included or excluded from the segment if their values match the criteria values.public SetDimension withValues(Collection<String> values)
The criteria values to use for the segment dimension. Depending on the value of the DimensionType property, endpoints are included or excluded from the segment if their values match the criteria values.
values
- The criteria values to use for the segment dimension. Depending on the value of the DimensionType
property, endpoints are included or excluded from the segment if their values match the criteria values.public String toString()
toString
in class Object
Object.toString()
public SetDimension clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2020. All rights reserved.