@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttributeDimension extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
AttributeDimension() |
| Modifier and Type | Method and Description |
|---|---|
AttributeDimension |
clone() |
boolean |
equals(Object obj) |
String |
getAttributeType()
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 |
setAttributeType(AttributeType attributeType)
The type of dimension: INCLUSIVE - Endpoints that match the criteria are included in the segment.
|
void |
setAttributeType(String attributeType)
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.
|
AttributeDimension |
withAttributeType(AttributeType attributeType)
The type of dimension: INCLUSIVE - Endpoints that match the criteria are included in the segment.
|
AttributeDimension |
withAttributeType(String attributeType)
The type of dimension: INCLUSIVE - Endpoints that match the criteria are included in the segment.
|
AttributeDimension |
withValues(Collection<String> values)
The criteria values for the segment dimension.
|
AttributeDimension |
withValues(String... values)
The criteria values for the segment dimension.
|
public void setAttributeType(String attributeType)
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.AttributeTypepublic String getAttributeType()
AttributeTypepublic AttributeDimension withAttributeType(String attributeType)
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.AttributeTypepublic void setAttributeType(AttributeType attributeType)
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.AttributeTypepublic AttributeDimension withAttributeType(AttributeType attributeType)
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.AttributeTypepublic 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 AttributeDimension 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 AttributeDimension 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 ObjectObject.toString()public AttributeDimension clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.