Interface DescribeProvisioningTemplateResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeProvisioningTemplateResponse.Builder,
,DescribeProvisioningTemplateResponse> IotResponse.Builder
,SdkBuilder<DescribeProvisioningTemplateResponse.Builder,
,DescribeProvisioningTemplateResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeProvisioningTemplateResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreationDate
(Instant creationDate) The date when the provisioning template was created.defaultVersionId
(Integer defaultVersionId) The default fleet template version ID.description
(String description) The description of the provisioning template.True if the provisioning template is enabled, otherwise false.lastModifiedDate
(Instant lastModifiedDate) The date when the provisioning template was last modified.preProvisioningHook
(Consumer<ProvisioningHook.Builder> preProvisioningHook) Gets information about a pre-provisioned hook.preProvisioningHook
(ProvisioningHook preProvisioningHook) Gets information about a pre-provisioned hook.provisioningRoleArn
(String provisioningRoleArn) The ARN of the role associated with the provisioning template.templateArn
(String templateArn) The ARN of the provisioning template.templateBody
(String templateBody) The JSON formatted contents of the provisioning template.templateName
(String templateName) The name of the provisioning template.The type you define in a provisioning template.type
(TemplateType type) The type you define in a provisioning template.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
templateArn
The ARN of the provisioning template.
- Parameters:
templateArn
- The ARN of the provisioning template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateName
The name of the provisioning template.
- Parameters:
templateName
- The name of the provisioning template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the provisioning template.
- Parameters:
description
- The description of the provisioning template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDate
The date when the provisioning template was created.
- Parameters:
creationDate
- The date when the provisioning template was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedDate
The date when the provisioning template was last modified.
- Parameters:
lastModifiedDate
- The date when the provisioning template was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultVersionId
The default fleet template version ID.
- Parameters:
defaultVersionId
- The default fleet template version ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateBody
The JSON formatted contents of the provisioning template.
- Parameters:
templateBody
- The JSON formatted contents of the provisioning template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabled
True if the provisioning template is enabled, otherwise false.
- Parameters:
enabled
- True if the provisioning template is enabled, otherwise false.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisioningRoleArn
The ARN of the role associated with the provisioning template. This IoT role grants permission to provision a device.
- Parameters:
provisioningRoleArn
- The ARN of the role associated with the provisioning template. This IoT role grants permission to provision a device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preProvisioningHook
DescribeProvisioningTemplateResponse.Builder preProvisioningHook(ProvisioningHook preProvisioningHook) Gets information about a pre-provisioned hook.
- Parameters:
preProvisioningHook
- Gets information about a pre-provisioned hook.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preProvisioningHook
default DescribeProvisioningTemplateResponse.Builder preProvisioningHook(Consumer<ProvisioningHook.Builder> preProvisioningHook) Gets information about a pre-provisioned hook.
This is a convenience method that creates an instance of theProvisioningHook.Builder
avoiding the need to create one manually viaProvisioningHook.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topreProvisioningHook(ProvisioningHook)
.- Parameters:
preProvisioningHook
- a consumer that will call methods onProvisioningHook.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
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 isFLEET_PROVISIONING
. For more information about provisioning template, see: Provisioning template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
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 isFLEET_PROVISIONING
. For more information about provisioning template, see: Provisioning template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-