@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SetDimension extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
SetDimension() |
Modifier and Type | Method and Description |
---|---|
SetDimension |
clone() |
boolean |
equals(Object obj) |
String |
getDimensionType()
The type of dimension: INCLUSIVE - Endpoints that match the criteria are included in the segment.
|
List<String> |
getValues()
The criteria values for the segment dimension.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDimensionType(DimensionType dimensionType)
The type of dimension: INCLUSIVE - Endpoints that match the criteria are included in the segment.
|
void |
setDimensionType(String dimensionType)
The type of dimension: INCLUSIVE - Endpoints that match the criteria are included in the segment.
|
void |
setValues(Collection<String> values)
The criteria values for the segment dimension.
|
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(String dimensionType)
The type of dimension: INCLUSIVE - Endpoints that match the criteria are included in the segment.
|
SetDimension |
withValues(Collection<String> values)
The criteria values for the segment dimension.
|
SetDimension |
withValues(String... values)
The criteria values for the segment dimension.
|
public void setDimensionType(String dimensionType)
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 String getDimensionType()
DimensionType
public SetDimension withDimensionType(String dimensionType)
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)
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)
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 List<String> getValues()
public void setValues(Collection<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(String... 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 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(Collection<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 String toString()
toString
in class Object
Object.toString()
public SetDimension clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.