Interface ApplicationSettingsResource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ApplicationSettingsResource.Builder,,ApplicationSettingsResource> SdkBuilder<ApplicationSettingsResource.Builder,,ApplicationSettingsResource> SdkPojo
- Enclosing class:
ApplicationSettingsResource
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) The unique identifier for the application.campaignHook(Consumer<CampaignHook.Builder> campaignHook) The settings for the AWS Lambda function to invoke by default as a code hook for campaigns in the application.campaignHook(CampaignHook campaignHook) The settings for the AWS Lambda function to invoke by default as a code hook for campaigns in the application.journeyLimits(Consumer<ApplicationSettingsJourneyLimits.Builder> journeyLimits) The default sending limits for journeys in the application.journeyLimits(ApplicationSettingsJourneyLimits journeyLimits) The default sending limits for journeys in the application.lastModifiedDate(String lastModifiedDate) The date and time, in ISO 8601 format, when the application's settings were last modified.limits(Consumer<CampaignLimits.Builder> limits) The default sending limits for campaigns in the application.limits(CampaignLimits limits) The default sending limits for campaigns in the application.quietTime(Consumer<QuietTime.Builder> quietTime) The default quiet time for campaigns in the application.The default quiet time for campaigns in the application.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
- Parameters:
applicationId- The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
campaignHook
The settings for the AWS Lambda function to invoke by default as a code hook for campaigns in the application. You can use this hook to customize segments that are used by campaigns in the application.
- Parameters:
campaignHook- The settings for the AWS Lambda function to invoke by default as a code hook for campaigns in the application. You can use this hook to customize segments that are used by campaigns in the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
campaignHook
default ApplicationSettingsResource.Builder campaignHook(Consumer<CampaignHook.Builder> campaignHook) The settings for the AWS Lambda function to invoke by default as a code hook for campaigns in the application. You can use this hook to customize segments that are used by campaigns in the application.
This is a convenience method that creates an instance of theCampaignHook.Builderavoiding the need to create one manually viaCampaignHook.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocampaignHook(CampaignHook).- Parameters:
campaignHook- a consumer that will call methods onCampaignHook.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastModifiedDate
The date and time, in ISO 8601 format, when the application's settings were last modified.
- Parameters:
lastModifiedDate- The date and time, in ISO 8601 format, when the application's settings were last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
limits
The default sending limits for campaigns in the application.
- Parameters:
limits- The default sending limits for campaigns in the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
limits
The default sending limits for campaigns in the application.
This is a convenience method that creates an instance of theCampaignLimits.Builderavoiding the need to create one manually viaCampaignLimits.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolimits(CampaignLimits).- Parameters:
limits- a consumer that will call methods onCampaignLimits.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
quietTime
The default quiet time for campaigns in the application. Quiet time is a specific time range when messages aren't sent to endpoints, if all the following conditions are met:
-
The EndpointDemographic.Timezone property of the endpoint is set to a valid value.
-
The current time in the endpoint's time zone is later than or equal to the time specified by the QuietTime.Start property for the application (or a campaign or journey that has custom quiet time settings).
-
The current time in the endpoint's time zone is earlier than or equal to the time specified by the QuietTime.End property for the application (or a campaign or journey that has custom quiet time settings).
If any of the preceding conditions isn't met, the endpoint will receive messages from a campaign or journey, even if quiet time is enabled.
- Parameters:
quietTime- The default quiet time for campaigns in the application. Quiet time is a specific time range when messages aren't sent to endpoints, if all the following conditions are met:-
The EndpointDemographic.Timezone property of the endpoint is set to a valid value.
-
The current time in the endpoint's time zone is later than or equal to the time specified by the QuietTime.Start property for the application (or a campaign or journey that has custom quiet time settings).
-
The current time in the endpoint's time zone is earlier than or equal to the time specified by the QuietTime.End property for the application (or a campaign or journey that has custom quiet time settings).
If any of the preceding conditions isn't met, the endpoint will receive messages from a campaign or journey, even if quiet time is enabled.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
quietTime
The default quiet time for campaigns in the application. Quiet time is a specific time range when messages aren't sent to endpoints, if all the following conditions are met:
-
The EndpointDemographic.Timezone property of the endpoint is set to a valid value.
-
The current time in the endpoint's time zone is later than or equal to the time specified by the QuietTime.Start property for the application (or a campaign or journey that has custom quiet time settings).
-
The current time in the endpoint's time zone is earlier than or equal to the time specified by the QuietTime.End property for the application (or a campaign or journey that has custom quiet time settings).
If any of the preceding conditions isn't met, the endpoint will receive messages from a campaign or journey, even if quiet time is enabled.
This is a convenience method that creates an instance of theQuietTime.Builderavoiding the need to create one manually viaQuietTime.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toquietTime(QuietTime).- Parameters:
quietTime- a consumer that will call methods onQuietTime.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
journeyLimits
The default sending limits for journeys in the application. These limits apply to each journey for the application but can be overridden, on a per journey basis, with the JourneyLimits resource.
- Parameters:
journeyLimits- The default sending limits for journeys in the application. These limits apply to each journey for the application but can be overridden, on a per journey basis, with the JourneyLimits resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
journeyLimits
default ApplicationSettingsResource.Builder journeyLimits(Consumer<ApplicationSettingsJourneyLimits.Builder> journeyLimits) The default sending limits for journeys in the application. These limits apply to each journey for the application but can be overridden, on a per journey basis, with the JourneyLimits resource.
This is a convenience method that creates an instance of theApplicationSettingsJourneyLimits.Builderavoiding the need to create one manually viaApplicationSettingsJourneyLimits.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojourneyLimits(ApplicationSettingsJourneyLimits).- Parameters:
journeyLimits- a consumer that will call methods onApplicationSettingsJourneyLimits.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-