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 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

      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

      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

      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 the 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).

      Parameters:
      preProvisioningHook - a consumer that will call methods on ProvisioningHook.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 is FLEET_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 is FLEET_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: