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 template ID to set as the default, or the special value UNSET_DEFAULT_TEMPLATE to clear the current default template.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 ID or ARN to associate, or the special value UNSET_DEFAULT_POOL_FOR_NOTIFY to clear the current default pool.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 template ID to set as the default, or the special value UNSET_DEFAULT_TEMPLATE to clear the current default template.
- Parameters:
defaultTemplateId- The template ID to set as the default, or the special value UNSET_DEFAULT_TEMPLATE to clear the current default template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
poolId
The pool ID or ARN to associate, or the special value UNSET_DEFAULT_POOL_FOR_NOTIFY to clear the current default pool.
- Parameters:
poolId- The pool ID or ARN to associate, or the special value UNSET_DEFAULT_POOL_FOR_NOTIFY to clear the current default pool.- 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.
-