Interface DescribeProvisioningTemplateResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeProvisioningTemplateResponse.Builder,DescribeProvisioningTemplateResponse>
,IotResponse.Builder
,SdkBuilder<DescribeProvisioningTemplateResponse.Builder,DescribeProvisioningTemplateResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeProvisioningTemplateResponse
public static interface DescribeProvisioningTemplateResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<DescribeProvisioningTemplateResponse.Builder,DescribeProvisioningTemplateResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeProvisioningTemplateResponse.Builder
creationDate(Instant creationDate)
The date when the provisioning template was created.DescribeProvisioningTemplateResponse.Builder
defaultVersionId(Integer defaultVersionId)
The default fleet template version ID.DescribeProvisioningTemplateResponse.Builder
description(String description)
The description of the provisioning template.DescribeProvisioningTemplateResponse.Builder
enabled(Boolean enabled)
True if the provisioning template is enabled, otherwise false.DescribeProvisioningTemplateResponse.Builder
lastModifiedDate(Instant lastModifiedDate)
The date when the provisioning template was last modified.default DescribeProvisioningTemplateResponse.Builder
preProvisioningHook(Consumer<ProvisioningHook.Builder> preProvisioningHook)
Gets information about a pre-provisioned hook.DescribeProvisioningTemplateResponse.Builder
preProvisioningHook(ProvisioningHook preProvisioningHook)
Gets information about a pre-provisioned hook.DescribeProvisioningTemplateResponse.Builder
provisioningRoleArn(String provisioningRoleArn)
The ARN of the role associated with the provisioning template.DescribeProvisioningTemplateResponse.Builder
templateArn(String templateArn)
The ARN of the provisioning template.DescribeProvisioningTemplateResponse.Builder
templateBody(String templateBody)
The JSON formatted contents of the provisioning template.DescribeProvisioningTemplateResponse.Builder
templateName(String templateName)
The name of the provisioning template.DescribeProvisioningTemplateResponse.Builder
type(String type)
The type you define in a provisioning template.DescribeProvisioningTemplateResponse.Builder
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 Detail
-
templateArn
DescribeProvisioningTemplateResponse.Builder templateArn(String 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
DescribeProvisioningTemplateResponse.Builder templateName(String 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
DescribeProvisioningTemplateResponse.Builder description(String 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
DescribeProvisioningTemplateResponse.Builder creationDate(Instant 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
DescribeProvisioningTemplateResponse.Builder lastModifiedDate(Instant 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
DescribeProvisioningTemplateResponse.Builder defaultVersionId(Integer 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
DescribeProvisioningTemplateResponse.Builder templateBody(String 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
DescribeProvisioningTemplateResponse.Builder enabled(Boolean 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
DescribeProvisioningTemplateResponse.Builder provisioningRoleArn(String 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:
preProvisioningHook(ProvisioningHook)
-
type
DescribeProvisioningTemplateResponse.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.- 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:
TemplateType
,TemplateType
-
type
DescribeProvisioningTemplateResponse.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.- 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:
TemplateType
,TemplateType
-
-