Class CfnRegistrationAttachmentPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.smsvoice.CfnRegistrationAttachmentPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRegistrationAttachmentPropsMixin>
- Enclosing class:
CfnRegistrationAttachmentPropsMixin
@Stability(Stable)
public static final class CfnRegistrationAttachmentPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRegistrationAttachmentPropsMixin>
A fluent builder for
CfnRegistrationAttachmentPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionattachmentBody(String attachmentBody) The registration file to upload.attachmentUrl(String attachmentUrl) A URL to the required registration file.build()create()create(CfnPropertyMixinOptions options) An array of tags (key and value pairs) to associate with the registration attachment.
-
Method Details
-
create
@Stability(Stable) public static CfnRegistrationAttachmentPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnRegistrationAttachmentPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnRegistrationAttachmentPropsMixin.Builder.
-
attachmentBody
@Stability(Stable) public CfnRegistrationAttachmentPropsMixin.Builder attachmentBody(String 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
@Stability(Stable) public CfnRegistrationAttachmentPropsMixin.Builder attachmentUrl(String 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
@Stability(Stable) public CfnRegistrationAttachmentPropsMixin.Builder tags(List<? extends CfnTag> 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<CfnRegistrationAttachmentPropsMixin>- Returns:
- a newly built instance of
CfnRegistrationAttachmentPropsMixin.
-