Interface PutProtectConfigurationRuleSetNumberOverrideRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<PutProtectConfigurationRuleSetNumberOverrideRequest.Builder,
,PutProtectConfigurationRuleSetNumberOverrideRequest> PinpointSmsVoiceV2Request.Builder
,SdkBuilder<PutProtectConfigurationRuleSetNumberOverrideRequest.Builder,
,PutProtectConfigurationRuleSetNumberOverrideRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
PutProtectConfigurationRuleSetNumberOverrideRequest
@Mutable
@NotThreadSafe
public static interface PutProtectConfigurationRuleSetNumberOverrideRequest.Builder
extends PinpointSmsVoiceV2Request.Builder, SdkPojo, CopyableBuilder<PutProtectConfigurationRuleSetNumberOverrideRequest.Builder,PutProtectConfigurationRuleSetNumberOverrideRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe action for the rule to either block or allow messages to the destination phone number.The action for the rule to either block or allow messages to the destination phone number.clientToken
(String clientToken) Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.destinationPhoneNumber
(String destinationPhoneNumber) The destination phone number in E.164 format.expirationTimestamp
(Instant expirationTimestamp) The time the rule will expire at.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
-
clientToken
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.
- Parameters:
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protectConfigurationId
PutProtectConfigurationRuleSetNumberOverrideRequest.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.
-
destinationPhoneNumber
PutProtectConfigurationRuleSetNumberOverrideRequest.Builder destinationPhoneNumber(String destinationPhoneNumber) The destination phone number in E.164 format.
- Parameters:
destinationPhoneNumber
- The destination phone number in E.164 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
The action for the rule to either block or allow messages to the destination phone number.
- Parameters:
action
- The action for the rule to either block or allow messages to the destination phone number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
PutProtectConfigurationRuleSetNumberOverrideRequest.Builder action(ProtectConfigurationRuleOverrideAction action) The action for the rule to either block or allow messages to the destination phone number.
- Parameters:
action
- The action for the rule to either block or allow messages to the destination phone number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
expirationTimestamp
PutProtectConfigurationRuleSetNumberOverrideRequest.Builder expirationTimestamp(Instant expirationTimestamp) The time the rule will expire at. If
ExpirationTimestamp
is not set then the rule does not expire.- Parameters:
expirationTimestamp
- The time the rule will expire at. IfExpirationTimestamp
is not set then the rule does not expire.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutProtectConfigurationRuleSetNumberOverrideRequest.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
PutProtectConfigurationRuleSetNumberOverrideRequest.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.
-