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