Class CfnRegistrationProps.Builder
java.lang.Object
software.amazon.awscdk.services.smsvoice.CfnRegistrationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRegistrationProps>
- Enclosing interface:
CfnRegistrationProps
@Stability(Stable)
public static final class CfnRegistrationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRegistrationProps>
A builder for
CfnRegistrationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.registrationType(String registrationType) Sets the value ofCfnRegistrationProps.getRegistrationType()Sets the value ofCfnRegistrationProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
registrationType
Sets the value ofCfnRegistrationProps.getRegistrationType()- Parameters:
registrationType- The type of registration form to create. This parameter is required.- Returns:
this
-
tags
Sets the value ofCfnRegistrationProps.getTags()- Parameters:
tags- An array of tags (key and value pairs) to associate with the registration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRegistrationProps>- Returns:
- a new instance of
CfnRegistrationProps - Throws:
NullPointerException- if any required attribute was not provided
-