Interface ProtectConfigurationRuleSetNumberOverride.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ProtectConfigurationRuleSetNumberOverride.Builder,
,ProtectConfigurationRuleSetNumberOverride> SdkBuilder<ProtectConfigurationRuleSetNumberOverride.Builder,
,ProtectConfigurationRuleSetNumberOverride> SdkPojo
- Enclosing class:
ProtectConfigurationRuleSetNumberOverride
@Mutable
@NotThreadSafe
public static interface ProtectConfigurationRuleSetNumberOverride.Builder
extends SdkPojo, CopyableBuilder<ProtectConfigurationRuleSetNumberOverride.Builder,ProtectConfigurationRuleSetNumberOverride>
-
Method Summary
Modifier and TypeMethodDescriptionThe action for the rule to perform of either blocking or allowing messages to the destination phone number.The action for the rule to perform of either blocking or allowing messages to the destination phone number.createdTimestamp
(Instant createdTimestamp) The time when the rule was created, in UNIX epoch time format.destinationPhoneNumber
(String destinationPhoneNumber) The destination phone number in E.164 format.expirationTimestamp
(Instant expirationTimestamp) The time the rule will expire at.isoCountryCode
(String isoCountryCode) The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
destinationPhoneNumber
ProtectConfigurationRuleSetNumberOverride.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.
-
createdTimestamp
The time when the rule was created, in UNIX epoch time format.
- Parameters:
createdTimestamp
- The time when the rule was created, in UNIX epoch time format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
The action for the rule to perform of either blocking or allowing messages to the destination phone number.
- Parameters:
action
- The action for the rule to perform of either blocking or allowing messages to the destination phone number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
ProtectConfigurationRuleSetNumberOverride.Builder action(ProtectConfigurationRuleOverrideAction action) The action for the rule to perform of either blocking or allowing messages to the destination phone number.
- Parameters:
action
- The action for the rule to perform of either blocking or allowing messages to the destination phone number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
isoCountryCode
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
- Parameters:
isoCountryCode
- The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expirationTimestamp
The time the rule will expire at. If
ExpirationTimestamp
is not set then the rule will not expire.- Parameters:
expirationTimestamp
- The time the rule will expire at. IfExpirationTimestamp
is not set then the rule will not expire.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-