public static interface CreateProvisioningTemplateRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<CreateProvisioningTemplateRequest.Builder,CreateProvisioningTemplateRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateProvisioningTemplateRequest.Builder templateName(String templateName)
The name of the provisioning template.
templateName
- The name of the provisioning template.CreateProvisioningTemplateRequest.Builder description(String description)
The description of the provisioning template.
description
- The description of the provisioning template.CreateProvisioningTemplateRequest.Builder templateBody(String templateBody)
The JSON formatted contents of the provisioning template.
templateBody
- The JSON formatted contents of the provisioning template.CreateProvisioningTemplateRequest.Builder enabled(Boolean enabled)
True to enable the provisioning template, otherwise false.
enabled
- True to enable the provisioning template, otherwise false.CreateProvisioningTemplateRequest.Builder provisioningRoleArn(String provisioningRoleArn)
The role ARN for the role associated with the provisioning template. This IoT role grants permission to provision a device.
provisioningRoleArn
- The role ARN for the role associated with the provisioning template. This IoT role grants permission
to provision a device.CreateProvisioningTemplateRequest.Builder preProvisioningHook(ProvisioningHook preProvisioningHook)
Creates a pre-provisioning hook template. Only supports template of type FLEET_PROVISIONING
. For
more information about provisioning template types, see type.
preProvisioningHook
- Creates a pre-provisioning hook template. Only supports template of type
FLEET_PROVISIONING
. For more information about provisioning template types, see type.default CreateProvisioningTemplateRequest.Builder preProvisioningHook(Consumer<ProvisioningHook.Builder> preProvisioningHook)
Creates a pre-provisioning hook template. Only supports template of type FLEET_PROVISIONING
. For
more information about provisioning template types, see type.
ProvisioningHook.Builder
avoiding the
need to create one manually via ProvisioningHook.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to preProvisioningHook(ProvisioningHook)
.
preProvisioningHook
- a consumer that will call methods on ProvisioningHook.Builder
preProvisioningHook(ProvisioningHook)
CreateProvisioningTemplateRequest.Builder tags(Collection<Tag> tags)
Metadata which can be used to manage the provisioning template.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
tags
- Metadata which can be used to manage the provisioning template. For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
CreateProvisioningTemplateRequest.Builder tags(Tag... tags)
Metadata which can be used to manage the provisioning template.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
tags
- Metadata which can be used to manage the provisioning template. For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
CreateProvisioningTemplateRequest.Builder tags(Consumer<Tag.Builder>... tags)
Metadata which can be used to manage the provisioning template.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
Tag.Builder
avoiding the need to create one manually via
Tag.builder()
.
When the Consumer
completes, SdkBuilder.build()
is
called immediately and its result is passed to #tags(List
.
tags
- a consumer that will call methods on Tag.Builder
#tags(java.util.Collection)
CreateProvisioningTemplateRequest.Builder type(String type)
The type you define in a provisioning template. You can create a template with only one type. You can't
change the template type after its creation. The default value is FLEET_PROVISIONING
. For more
information about provisioning template, see: Provisioning
template.
type
- The type you define in a provisioning template. You can create a template with only one type. You
can't change the template type after its creation. The default value is
FLEET_PROVISIONING
. For more information about provisioning template, see: Provisioning
template.TemplateType
,
TemplateType
CreateProvisioningTemplateRequest.Builder type(TemplateType type)
The type you define in a provisioning template. You can create a template with only one type. You can't
change the template type after its creation. The default value is FLEET_PROVISIONING
. For more
information about provisioning template, see: Provisioning
template.
type
- The type you define in a provisioning template. You can create a template with only one type. You
can't change the template type after its creation. The default value is
FLEET_PROVISIONING
. For more information about provisioning template, see: Provisioning
template.TemplateType
,
TemplateType
CreateProvisioningTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CreateProvisioningTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2023. All rights reserved.