Interface ProtectConfigurationRuleSetNumberOverride.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ProtectConfigurationRuleSetNumberOverride.Builder,ProtectConfigurationRuleSetNumberOverride>,SdkBuilder<ProtectConfigurationRuleSetNumberOverride.Builder,ProtectConfigurationRuleSetNumberOverride>,SdkPojo
- Enclosing class:
- ProtectConfigurationRuleSetNumberOverride
public static interface ProtectConfigurationRuleSetNumberOverride.Builder extends SdkPojo, CopyableBuilder<ProtectConfigurationRuleSetNumberOverride.Builder,ProtectConfigurationRuleSetNumberOverride>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProtectConfigurationRuleSetNumberOverride.Builderaction(String action)The action for the rule to perform of either blocking or allowing messages to the destination phone number.ProtectConfigurationRuleSetNumberOverride.Builderaction(ProtectConfigurationRuleOverrideAction action)The action for the rule to perform of either blocking or allowing messages to the destination phone number.ProtectConfigurationRuleSetNumberOverride.BuildercreatedTimestamp(Instant createdTimestamp)The time when the rule was created, in UNIX epoch time format.ProtectConfigurationRuleSetNumberOverride.BuilderdestinationPhoneNumber(String destinationPhoneNumber)The destination phone number in E.164 format.ProtectConfigurationRuleSetNumberOverride.BuilderexpirationTimestamp(Instant expirationTimestamp)The time the rule will expire at.ProtectConfigurationRuleSetNumberOverride.BuilderisoCountryCode(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 Detail
-
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
ProtectConfigurationRuleSetNumberOverride.Builder createdTimestamp(Instant 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
ProtectConfigurationRuleSetNumberOverride.Builder action(String 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:
ProtectConfigurationRuleOverrideAction,ProtectConfigurationRuleOverrideAction
-
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:
ProtectConfigurationRuleOverrideAction,ProtectConfigurationRuleOverrideAction
-
isoCountryCode
ProtectConfigurationRuleSetNumberOverride.Builder isoCountryCode(String 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
ProtectConfigurationRuleSetNumberOverride.Builder expirationTimestamp(Instant expirationTimestamp)
The time the rule will expire at. If
ExpirationTimestampis not set then the rule will not expire.- Parameters:
expirationTimestamp- The time the rule will expire at. IfExpirationTimestampis not set then the rule will not expire.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-