Class CfnSenderIdPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.smsvoice.CfnSenderIdPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSenderIdPropsMixin>
- Enclosing class:
CfnSenderIdPropsMixin
@Stability(Stable)
public static final class CfnSenderIdPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSenderIdPropsMixin>
A fluent builder for
CfnSenderIdPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) deletionProtectionEnabled(Boolean deletionProtectionEnabled) By default this is set to false.deletionProtectionEnabled(IResolvable deletionProtectionEnabled) By default this is set to false.isoCountryCode(String isoCountryCode) The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.The sender ID string to request.An array of tags (key and value pairs) to associate with the sender ID.
-
Method Details
-
create
@Stability(Stable) public static CfnSenderIdPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnSenderIdPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnSenderIdPropsMixin.Builder.
-
deletionProtectionEnabled
@Stability(Stable) public CfnSenderIdPropsMixin.Builder deletionProtectionEnabled(Boolean deletionProtectionEnabled) By default this is set to false.When set to true the sender ID can't be deleted.
- Parameters:
deletionProtectionEnabled- By default this is set to false. This parameter is required.- Returns:
this- See Also:
-
deletionProtectionEnabled
@Stability(Stable) public CfnSenderIdPropsMixin.Builder deletionProtectionEnabled(IResolvable deletionProtectionEnabled) By default this is set to false.When set to true the sender ID can't be deleted.
- Parameters:
deletionProtectionEnabled- By default this is set to false. This parameter is required.- Returns:
this- 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. This parameter is required.- Returns:
this- See Also:
-
senderId
The sender ID string to request.- Parameters:
senderId- The sender ID string to request. This parameter is required.- Returns:
this- See Also:
-
tags
An array of tags (key and value pairs) to associate with the sender ID.- Parameters:
tags- An array of tags (key and value pairs) to associate with the sender ID. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSenderIdPropsMixin>- Returns:
- a newly built instance of
CfnSenderIdPropsMixin.
-