Class GetCampaignDateRangeKpiRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.pinpoint.model.PinpointRequest
-
- software.amazon.awssdk.services.pinpoint.model.GetCampaignDateRangeKpiRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetCampaignDateRangeKpiRequest.Builder,GetCampaignDateRangeKpiRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetCampaignDateRangeKpiRequest extends PinpointRequest implements ToCopyableBuilder<GetCampaignDateRangeKpiRequest.Builder,GetCampaignDateRangeKpiRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetCampaignDateRangeKpiRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringapplicationId()The unique identifier for the application.static GetCampaignDateRangeKpiRequest.Builderbuilder()StringcampaignId()The unique identifier for the campaign.InstantendTime()The last date and time to retrieve data for, as part of an inclusive date range that filters the query results.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkpiName()The name of the metric, also referred to as a key performance indicator (KPI), to retrieve data for.StringnextToken()The string that specifies which page of results to return in a paginated response.StringpageSize()The maximum number of items to include in each page of a paginated response.List<SdkField<?>>sdkFields()static Class<? extends GetCampaignDateRangeKpiRequest.Builder>serializableBuilderClass()InstantstartTime()The first date and time to retrieve data for, as part of an inclusive date range that filters the query results.GetCampaignDateRangeKpiRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
applicationId
public final String applicationId()
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
- Returns:
- The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
-
campaignId
public final String campaignId()
The unique identifier for the campaign.
- Returns:
- The unique identifier for the campaign.
-
endTime
public final Instant endTime()
The last date and time to retrieve data for, as part of an inclusive date range that filters the query results. This value should be in extended ISO 8601 format and use Coordinated Universal Time (UTC), for example: 2019-07-26T20:00:00Z for 8:00 PM UTC July 26, 2019.
- Returns:
- The last date and time to retrieve data for, as part of an inclusive date range that filters the query results. This value should be in extended ISO 8601 format and use Coordinated Universal Time (UTC), for example: 2019-07-26T20:00:00Z for 8:00 PM UTC July 26, 2019.
-
kpiName
public final String kpiName()
The name of the metric, also referred to as a key performance indicator (KPI), to retrieve data for. This value describes the associated metric and consists of two or more terms, which are comprised of lowercase alphanumeric characters, separated by a hyphen. Examples are email-open-rate and successful-delivery-rate. For a list of valid values, see the Amazon Pinpoint Developer Guide.
- Returns:
- The name of the metric, also referred to as a key performance indicator (KPI), to retrieve data for. This value describes the associated metric and consists of two or more terms, which are comprised of lowercase alphanumeric characters, separated by a hyphen. Examples are email-open-rate and successful-delivery-rate. For a list of valid values, see the Amazon Pinpoint Developer Guide.
-
nextToken
public final String nextToken()
The string that specifies which page of results to return in a paginated response. This parameter is not supported for application, campaign, and journey metrics.
- Returns:
- The string that specifies which page of results to return in a paginated response. This parameter is not supported for application, campaign, and journey metrics.
-
pageSize
public final String pageSize()
The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.
- Returns:
- The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.
-
startTime
public final Instant startTime()
The first date and time to retrieve data for, as part of an inclusive date range that filters the query results. This value should be in extended ISO 8601 format and use Coordinated Universal Time (UTC), for example: 2019-07-19T20:00:00Z for 8:00 PM UTC July 19, 2019. This value should also be fewer than 90 days from the current day.
- Returns:
- The first date and time to retrieve data for, as part of an inclusive date range that filters the query results. This value should be in extended ISO 8601 format and use Coordinated Universal Time (UTC), for example: 2019-07-19T20:00:00Z for 8:00 PM UTC July 19, 2019. This value should also be fewer than 90 days from the current day.
-
toBuilder
public GetCampaignDateRangeKpiRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetCampaignDateRangeKpiRequest.Builder,GetCampaignDateRangeKpiRequest>- Specified by:
toBuilderin classPinpointRequest
-
builder
public static GetCampaignDateRangeKpiRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetCampaignDateRangeKpiRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-