Class CfnRegistrationAttachment.Builder
java.lang.Object
software.amazon.awscdk.services.smsvoice.CfnRegistrationAttachment.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRegistrationAttachment>
- Enclosing class:
CfnRegistrationAttachment
@Stability(Stable)
public static final class CfnRegistrationAttachment.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRegistrationAttachment>
A fluent builder for
CfnRegistrationAttachment.-
Method Summary
Modifier and TypeMethodDescriptionattachmentBody(String attachmentBody) The registration file to upload.attachmentUrl(String attachmentUrl) A URL to the required registration file.build()An array of tags (key and value pairs) to associate with the registration attachment.
-
Method Details
-
create
@Stability(Stable) public static CfnRegistrationAttachment.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
CfnRegistrationAttachment.Builder.
-
attachmentBody
The registration file to upload.The maximum file size is 1500KB and valid file extensions are PDF, JPEG and PNG.
- Parameters:
attachmentBody- The registration file to upload. This parameter is required.- Returns:
this- See Also:
-
attachmentUrl
A URL to the required registration file.For example, the URL to an MMS/shortcode form.
- Parameters:
attachmentUrl- A URL to the required registration file. This parameter is required.- Returns:
this- See Also:
-
tags
An array of tags (key and value pairs) to associate with the registration attachment.- Parameters:
tags- An array of tags (key and value pairs) to associate with the registration attachment. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRegistrationAttachment>- Returns:
- a newly built instance of
CfnRegistrationAttachment.
-