Interface PutProtectConfigurationRuleSetNumberOverrideRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutProtectConfigurationRuleSetNumberOverrideRequest.Builder,PutProtectConfigurationRuleSetNumberOverrideRequest>,PinpointSmsVoiceV2Request.Builder,SdkBuilder<PutProtectConfigurationRuleSetNumberOverrideRequest.Builder,PutProtectConfigurationRuleSetNumberOverrideRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- PutProtectConfigurationRuleSetNumberOverrideRequest
public static interface PutProtectConfigurationRuleSetNumberOverrideRequest.Builder extends PinpointSmsVoiceV2Request.Builder, SdkPojo, CopyableBuilder<PutProtectConfigurationRuleSetNumberOverrideRequest.Builder,PutProtectConfigurationRuleSetNumberOverrideRequest>
-
-
Method Summary
-
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 Detail
-
clientToken
PutProtectConfigurationRuleSetNumberOverrideRequest.Builder clientToken(String 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
PutProtectConfigurationRuleSetNumberOverrideRequest.Builder action(String 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:
ProtectConfigurationRuleOverrideAction,ProtectConfigurationRuleOverrideAction
-
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:
ProtectConfigurationRuleOverrideAction,ProtectConfigurationRuleOverrideAction
-
expirationTimestamp
PutProtectConfigurationRuleSetNumberOverrideRequest.Builder expirationTimestamp(Instant expirationTimestamp)
The time the rule will expire at. If
ExpirationTimestampis not set then the rule does not expire.- Parameters:
expirationTimestamp- The time the rule will expire at. IfExpirationTimestampis 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutProtectConfigurationRuleSetNumberOverrideRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-