Skip to main content

ISESV2BatchGetMetricDataQueryBuilder

Interface in AWS.SESV2

Builder interface for BatchGetMetricDataQuery instances.

Methods

Build

function Build: ISESV2BatchGetMetricDataQuery;

ISESV2BatchGetMetricDataQuery

Build and return an instance of ISESV2BatchGetMetricDataQuery.

Returns

Returns an instance of ISESV2BatchGetMetricDataQuery.

WithDimension

function WithDimension(const AName, AValue: string): ISESV2BatchGetMetricDataQueryBuilder;

ISESV2BatchGetMetricDataQueryBuilder

Add a dimension filter to the query.

Parameters

NameDescription
ANameSpecify the name of the dimension to filter. Supported values include:,, and.
ANameSpecify a value for the dimension filter.

Returns

Returns the builder.

WithEndDate

function WithEndDate(const AEndDate: TDateTime): ISESV2BatchGetMetricDataQueryBuilder;

ISESV2BatchGetMetricDataQueryBuilder

Specify the EndDate for the query time range.

Parameters

NameDescription
AEndDateSpecify a date and time.

Returns

Returns the builder.

WithId

function WithId(const AId: string): ISESV2BatchGetMetricDataQueryBuilder;

ISESV2BatchGetMetricDataQueryBuilder

Specify an identifier for the query.

Parameters

NameDescription
AIdSpecify an identifier used to identify the results in the response.

Returns

Returns the builder.

WithMetric

function WithMetric(const AMetric: string): ISESV2BatchGetMetricDataQueryBuilder;

ISESV2BatchGetMetricDataQueryBuilder

Specify an identifier for the query.

Parameters

NameDescription
AMetricSpecify the metric for the query. Valid values:|||||||||.

Returns

Returns the builder.

WithNamespace

function WithNamespace(const ANamespace: string): ISESV2BatchGetMetricDataQueryBuilder;

ISESV2BatchGetMetricDataQueryBuilder

Specify a namespace for the query.

Parameters

NameDescription
ANamespaceSpecify the namespace for the query. Valid values:.

Returns

Returns the builder.

WithStartDate

function WithStartDate(const AStartDate: TDateTime): ISESV2BatchGetMetricDataQueryBuilder;

ISESV2BatchGetMetricDataQueryBuilder

Specify the StartDate for the query time range.

Parameters

NameDescription
AStartDateSpecify a date and time.

Returns

Returns the builder.