Class CfnCACertificatePropsMixin.RegistrationConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iot.CfnCACertificatePropsMixin.RegistrationConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCACertificatePropsMixin.RegistrationConfigProperty>
- Enclosing interface:
CfnCACertificatePropsMixin.RegistrationConfigProperty
@Stability(Stable)
public static final class CfnCACertificatePropsMixin.RegistrationConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCACertificatePropsMixin.RegistrationConfigProperty>
A builder for
CfnCACertificatePropsMixin.RegistrationConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCACertificatePropsMixin.RegistrationConfigProperty.getRoleArn()templateBody(String templateBody) Sets the value ofCfnCACertificatePropsMixin.RegistrationConfigProperty.getTemplateBody()templateName(String templateName) Sets the value ofCfnCACertificatePropsMixin.RegistrationConfigProperty.getTemplateName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
roleArn
@Stability(Stable) public CfnCACertificatePropsMixin.RegistrationConfigProperty.Builder roleArn(String roleArn) Sets the value ofCfnCACertificatePropsMixin.RegistrationConfigProperty.getRoleArn()- Parameters:
roleArn- The ARN of the role.- Returns:
this
-
templateBody
@Stability(Stable) public CfnCACertificatePropsMixin.RegistrationConfigProperty.Builder templateBody(String templateBody) Sets the value ofCfnCACertificatePropsMixin.RegistrationConfigProperty.getTemplateBody()- Parameters:
templateBody- The template body.- Returns:
this
-
templateName
@Stability(Stable) public CfnCACertificatePropsMixin.RegistrationConfigProperty.Builder templateName(String templateName) Sets the value ofCfnCACertificatePropsMixin.RegistrationConfigProperty.getTemplateName()- Parameters:
templateName- The name of the provisioning template.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCACertificatePropsMixin.RegistrationConfigProperty>- Returns:
- a new instance of
CfnCACertificatePropsMixin.RegistrationConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-