Interface UpdateProtectConfigurationCountryRuleSetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateProtectConfigurationCountryRuleSetRequest.Builder,
,UpdateProtectConfigurationCountryRuleSetRequest> PinpointSmsVoiceV2Request.Builder
,SdkBuilder<UpdateProtectConfigurationCountryRuleSetRequest.Builder,
,UpdateProtectConfigurationCountryRuleSetRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateProtectConfigurationCountryRuleSetRequest
-
Method Summary
Modifier and TypeMethodDescriptioncountryRuleSetUpdates
(Map<String, ProtectConfigurationCountryRuleSetInformation> countryRuleSetUpdates) A map of ProtectConfigurationCountryRuleSetInformation objects that contain the details for the requested NumberCapability.numberCapability
(String numberCapability) The number capability to apply the CountryRuleSetUpdates updates to.numberCapability
(NumberCapability numberCapability) The number capability to apply the CountryRuleSetUpdates updates to.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.protectConfigurationId
(String protectConfigurationId) The unique identifier for the protect configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Request.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
protectConfigurationId
UpdateProtectConfigurationCountryRuleSetRequest.Builder protectConfigurationId(String protectConfigurationId) The unique identifier for the protect configuration.
- Parameters:
protectConfigurationId
- The unique identifier for the protect configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberCapability
The number capability to apply the CountryRuleSetUpdates updates to.
- Parameters:
numberCapability
- The number capability to apply the CountryRuleSetUpdates updates to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
numberCapability
UpdateProtectConfigurationCountryRuleSetRequest.Builder numberCapability(NumberCapability numberCapability) The number capability to apply the CountryRuleSetUpdates updates to.
- Parameters:
numberCapability
- The number capability to apply the CountryRuleSetUpdates updates to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
countryRuleSetUpdates
UpdateProtectConfigurationCountryRuleSetRequest.Builder countryRuleSetUpdates(Map<String, ProtectConfigurationCountryRuleSetInformation> countryRuleSetUpdates) A map of ProtectConfigurationCountryRuleSetInformation objects that contain the details for the requested NumberCapability. The Key is the two-letter ISO country code. For a list of supported ISO country codes, see Supported countries and regions (SMS channel) in the AWS End User Messaging SMS User Guide.
For example, to set the United States as allowed and Canada as blocked, the
CountryRuleSetUpdates
would be formatted as:"CountryRuleSetUpdates": { "US" : { "ProtectStatus": "ALLOW" } "CA" : { "ProtectStatus": "BLOCK" } }
- Parameters:
countryRuleSetUpdates
- A map of ProtectConfigurationCountryRuleSetInformation objects that contain the details for the requested NumberCapability. The Key is the two-letter ISO country code. For a list of supported ISO country codes, see Supported countries and regions (SMS channel) in the AWS End User Messaging SMS User Guide.For example, to set the United States as allowed and Canada as blocked, the
CountryRuleSetUpdates
would be formatted as:"CountryRuleSetUpdates": { "US" : { "ProtectStatus": "ALLOW" } "CA" : { "ProtectStatus": "BLOCK" } }
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateProtectConfigurationCountryRuleSetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateProtectConfigurationCountryRuleSetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-