AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Pinpoint::Types::SetDimension

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing SetDimension as input to an Aws::Client method, you can use a vanilla Hash:

{
  dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
  values: ["__string"], # required
}

Specifies the dimension type and values for a segment dimension.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#dimension_typeString

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.

Possible values:

  • INCLUSIVE
  • EXCLUSIVE

Returns:

  • (String)

    The type of segment dimension to use.

#valuesArray<String>

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.

Returns:

  • (Array<String>)

    The criteria values to use for the segment dimension.