Interface UpdateNotifyConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateNotifyConfigurationRequest.Builder,,UpdateNotifyConfigurationRequest> PinpointSmsVoiceV2Request.Builder,SdkBuilder<UpdateNotifyConfigurationRequest.Builder,,UpdateNotifyConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateNotifyConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefaultTemplateId(String defaultTemplateId) The default template identifier to associate with the notify configuration.deletionProtectionEnabled(Boolean deletionProtectionEnabled) When set to true the notify configuration can't be deleted.enabledChannels(Collection<NumberCapability> enabledChannels) An array of channels to enable for the notify configuration.enabledChannels(NumberCapability... enabledChannels) An array of channels to enable for the notify configuration.enabledChannelsWithStrings(String... enabledChannels) An array of channels to enable for the notify configuration.enabledChannelsWithStrings(Collection<String> enabledChannels) An array of channels to enable for the notify configuration.enabledCountries(String... enabledCountries) An array of two-character ISO country codes, in ISO 3166-1 alpha-2 format, that are enabled for the notify configuration.enabledCountries(Collection<String> enabledCountries) An array of two-character ISO country codes, in ISO 3166-1 alpha-2 format, that are enabled for the notify configuration.notifyConfigurationId(String notifyConfigurationId) The identifier of the notify configuration to update.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The pool identifier or Amazon Resource Name (ARN) to associate with the notify configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
notifyConfigurationId
The identifier of the notify configuration to update. The NotifyConfigurationId can be found using the DescribeNotifyConfigurations operation.
- Parameters:
notifyConfigurationId- The identifier of the notify configuration to update. The NotifyConfigurationId can be found using the DescribeNotifyConfigurations operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultTemplateId
The default template identifier to associate with the notify configuration. If specified, this template is used when sending messages without an explicit template identifier. Pass the special value
UNSET_DEFAULT_TEMPLATEto clear the current default template from the notify configuration.- Parameters:
defaultTemplateId- The default template identifier to associate with the notify configuration. If specified, this template is used when sending messages without an explicit template identifier. Pass the special valueUNSET_DEFAULT_TEMPLATEto clear the current default template from the notify configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
poolId
The pool identifier or Amazon Resource Name (ARN) to associate with the notify configuration. Pass the special value
UNSET_DEFAULT_POOL_FOR_NOTIFYto clear the current default pool from the notify configuration.- Parameters:
poolId- The pool identifier or Amazon Resource Name (ARN) to associate with the notify configuration. Pass the special valueUNSET_DEFAULT_POOL_FOR_NOTIFYto clear the current default pool from the notify configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabledCountries
An array of two-character ISO country codes, in ISO 3166-1 alpha-2 format, that are enabled for the notify configuration.
- Parameters:
enabledCountries- An array of two-character ISO country codes, in ISO 3166-1 alpha-2 format, that are enabled for the notify configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabledCountries
An array of two-character ISO country codes, in ISO 3166-1 alpha-2 format, that are enabled for the notify configuration.
- Parameters:
enabledCountries- An array of two-character ISO country codes, in ISO 3166-1 alpha-2 format, that are enabled for the notify configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabledChannelsWithStrings
UpdateNotifyConfigurationRequest.Builder enabledChannelsWithStrings(Collection<String> enabledChannels) An array of channels to enable for the notify configuration. Supported values include
SMSandVOICE.- Parameters:
enabledChannels- An array of channels to enable for the notify configuration. Supported values includeSMSandVOICE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabledChannelsWithStrings
An array of channels to enable for the notify configuration. Supported values include
SMSandVOICE.- Parameters:
enabledChannels- An array of channels to enable for the notify configuration. Supported values includeSMSandVOICE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabledChannels
UpdateNotifyConfigurationRequest.Builder enabledChannels(Collection<NumberCapability> enabledChannels) An array of channels to enable for the notify configuration. Supported values include
SMSandVOICE.- Parameters:
enabledChannels- An array of channels to enable for the notify configuration. Supported values includeSMSandVOICE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabledChannels
An array of channels to enable for the notify configuration. Supported values include
SMSandVOICE.- Parameters:
enabledChannels- An array of channels to enable for the notify configuration. Supported values includeSMSandVOICE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletionProtectionEnabled
UpdateNotifyConfigurationRequest.Builder deletionProtectionEnabled(Boolean deletionProtectionEnabled) When set to true the notify configuration can't be deleted.
- Parameters:
deletionProtectionEnabled- When set to true the notify configuration can't be deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateNotifyConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateNotifyConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-