Class CfnSenderId.Builder
java.lang.Object
software.amazon.awscdk.services.smsvoice.CfnSenderId.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSenderId>
- Enclosing class:
CfnSenderId
@Stability(Stable)
public static final class CfnSenderId.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSenderId>
A fluent builder for
CfnSenderId.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnSenderId.BuilderdeletionProtectionEnabled(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 CfnSenderId.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnSenderId.Builder.
-
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:
-
deletionProtectionEnabled
@Stability(Stable) public CfnSenderId.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 CfnSenderId.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:
-
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<CfnSenderId>- Returns:
- a newly built instance of
CfnSenderId.
-