Class CfnProvisioningTemplatePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iot.CfnProvisioningTemplatePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProvisioningTemplatePropsMixin>
- Enclosing class:
CfnProvisioningTemplatePropsMixin
@Stability(Stable)
public static final class CfnProvisioningTemplatePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProvisioningTemplatePropsMixin>
A fluent builder for
CfnProvisioningTemplatePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) description(String description) The description of the fleet provisioning template.True to enable the fleet provisioning template, otherwise false.enabled(IResolvable enabled) True to enable the fleet provisioning template, otherwise false.preProvisioningHook(CfnProvisioningTemplatePropsMixin.ProvisioningHookProperty preProvisioningHook) Creates a pre-provisioning hook template.preProvisioningHook(IResolvable preProvisioningHook) Creates a pre-provisioning hook template.provisioningRoleArn(String provisioningRoleArn) The role ARN for the role associated with the fleet provisioning template.provisioningRoleArn(IRoleRef provisioningRoleArn) The role ARN for the role associated with the fleet provisioning template.Metadata that can be used to manage the fleet provisioning template.templateBody(String templateBody) The JSON formatted contents of the fleet provisioning template version.templateName(String templateName) The name of the fleet provisioning template.templateType(String templateType) The type of the provisioning template.
-
Method Details
-
create
@Stability(Stable) public static CfnProvisioningTemplatePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnProvisioningTemplatePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnProvisioningTemplatePropsMixin.Builder.
-
description
The description of the fleet provisioning template.- Parameters:
description- The description of the fleet provisioning template. This parameter is required.- Returns:
this- See Also:
-
enabled
True to enable the fleet provisioning template, otherwise false.- Parameters:
enabled- True to enable the fleet provisioning template, otherwise false. This parameter is required.- Returns:
this- See Also:
-
enabled
True to enable the fleet provisioning template, otherwise false.- Parameters:
enabled- True to enable the fleet provisioning template, otherwise false. This parameter is required.- Returns:
this- See Also:
-
preProvisioningHook
@Stability(Stable) public CfnProvisioningTemplatePropsMixin.Builder preProvisioningHook(IResolvable preProvisioningHook) Creates a pre-provisioning hook template.- Parameters:
preProvisioningHook- Creates a pre-provisioning hook template. This parameter is required.- Returns:
this- See Also:
-
preProvisioningHook
@Stability(Stable) public CfnProvisioningTemplatePropsMixin.Builder preProvisioningHook(CfnProvisioningTemplatePropsMixin.ProvisioningHookProperty preProvisioningHook) Creates a pre-provisioning hook template.- Parameters:
preProvisioningHook- Creates a pre-provisioning hook template. This parameter is required.- Returns:
this- See Also:
-
provisioningRoleArn
@Stability(Stable) public CfnProvisioningTemplatePropsMixin.Builder provisioningRoleArn(String provisioningRoleArn) The role ARN for the role associated with the fleet provisioning template.This IoT role grants permission to provision a device.
- Parameters:
provisioningRoleArn- The role ARN for the role associated with the fleet provisioning template. This parameter is required.- Returns:
this- See Also:
-
provisioningRoleArn
@Stability(Stable) public CfnProvisioningTemplatePropsMixin.Builder provisioningRoleArn(IRoleRef provisioningRoleArn) The role ARN for the role associated with the fleet provisioning template.This IoT role grants permission to provision a device.
- Parameters:
provisioningRoleArn- The role ARN for the role associated with the fleet provisioning template. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnProvisioningTemplatePropsMixin.Builder tags(List<? extends CfnTag> tags) Metadata that can be used to manage the fleet provisioning template.- Parameters:
tags- Metadata that can be used to manage the fleet provisioning template. This parameter is required.- Returns:
this- See Also:
-
templateBody
@Stability(Stable) public CfnProvisioningTemplatePropsMixin.Builder templateBody(String templateBody) The JSON formatted contents of the fleet provisioning template version.- Parameters:
templateBody- The JSON formatted contents of the fleet provisioning template version. This parameter is required.- Returns:
this- See Also:
-
templateName
@Stability(Stable) public CfnProvisioningTemplatePropsMixin.Builder templateName(String templateName) The name of the fleet provisioning template.- Parameters:
templateName- The name of the fleet provisioning template. This parameter is required.- Returns:
this- See Also:
-
templateType
@Stability(Stable) public CfnProvisioningTemplatePropsMixin.Builder templateType(String templateType) The type of the provisioning template.- Parameters:
templateType- The type of the provisioning template. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnProvisioningTemplatePropsMixin>- Returns:
- a newly built instance of
CfnProvisioningTemplatePropsMixin.
-