Interface RecordDetail.Builder

All Superinterfaces:
Buildable, CopyableBuilder<RecordDetail.Builder,RecordDetail>, SdkBuilder<RecordDetail.Builder,RecordDetail>, SdkPojo
Enclosing class:
RecordDetail

public static interface RecordDetail.Builder extends SdkPojo, CopyableBuilder<RecordDetail.Builder,RecordDetail>
  • Method Details

    • recordId

      RecordDetail.Builder recordId(String recordId)

      The identifier of the record.

      Parameters:
      recordId - The identifier of the record.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • provisionedProductName

      RecordDetail.Builder provisionedProductName(String provisionedProductName)

      The user-friendly name of the provisioned product.

      Parameters:
      provisionedProductName - The user-friendly name of the provisioned product.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      RecordDetail.Builder status(String status)

      The status of the provisioned product.

      • CREATED - The request was created but the operation has not started.

      • IN_PROGRESS - The requested operation is in progress.

      • IN_PROGRESS_IN_ERROR - The provisioned product is under change but the requested operation failed and some remediation is occurring. For example, a rollback.

      • SUCCEEDED - The requested operation has successfully completed.

      • FAILED - The requested operation has unsuccessfully completed. Investigate using the error messages returned.

      Parameters:
      status - The status of the provisioned product.

      • CREATED - The request was created but the operation has not started.

      • IN_PROGRESS - The requested operation is in progress.

      • IN_PROGRESS_IN_ERROR - The provisioned product is under change but the requested operation failed and some remediation is occurring. For example, a rollback.

      • SUCCEEDED - The requested operation has successfully completed.

      • FAILED - The requested operation has unsuccessfully completed. Investigate using the error messages returned.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the provisioned product.

      • CREATED - The request was created but the operation has not started.

      • IN_PROGRESS - The requested operation is in progress.

      • IN_PROGRESS_IN_ERROR - The provisioned product is under change but the requested operation failed and some remediation is occurring. For example, a rollback.

      • SUCCEEDED - The requested operation has successfully completed.

      • FAILED - The requested operation has unsuccessfully completed. Investigate using the error messages returned.

      Parameters:
      status - The status of the provisioned product.

      • CREATED - The request was created but the operation has not started.

      • IN_PROGRESS - The requested operation is in progress.

      • IN_PROGRESS_IN_ERROR - The provisioned product is under change but the requested operation failed and some remediation is occurring. For example, a rollback.

      • SUCCEEDED - The requested operation has successfully completed.

      • FAILED - The requested operation has unsuccessfully completed. Investigate using the error messages returned.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdTime

      RecordDetail.Builder createdTime(Instant createdTime)

      The UTC time stamp of the creation time.

      Parameters:
      createdTime - The UTC time stamp of the creation time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedTime

      RecordDetail.Builder updatedTime(Instant updatedTime)

      The time when the record was last updated.

      Parameters:
      updatedTime - The time when the record was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • provisionedProductType

      RecordDetail.Builder provisionedProductType(String provisionedProductType)

      The type of provisioned product. The supported values are CFN_STACK, CFN_STACKSET, TERRAFORM_OPEN_SOURCE, TERRAFORM_CLOUD, and EXTERNAL.

      Parameters:
      provisionedProductType - The type of provisioned product. The supported values are CFN_STACK, CFN_STACKSET, TERRAFORM_OPEN_SOURCE, TERRAFORM_CLOUD, and EXTERNAL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recordType

      RecordDetail.Builder recordType(String recordType)

      The record type.

      • PROVISION_PRODUCT

      • UPDATE_PROVISIONED_PRODUCT

      • TERMINATE_PROVISIONED_PRODUCT

      Parameters:
      recordType - The record type.

      • PROVISION_PRODUCT

      • UPDATE_PROVISIONED_PRODUCT

      • TERMINATE_PROVISIONED_PRODUCT

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • provisionedProductId

      RecordDetail.Builder provisionedProductId(String provisionedProductId)

      The identifier of the provisioned product.

      Parameters:
      provisionedProductId - The identifier of the provisioned product.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • productId

      RecordDetail.Builder productId(String productId)

      The product identifier.

      Parameters:
      productId - The product identifier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • provisioningArtifactId

      RecordDetail.Builder provisioningArtifactId(String provisioningArtifactId)

      The identifier of the provisioning artifact.

      Parameters:
      provisioningArtifactId - The identifier of the provisioning artifact.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pathId

      RecordDetail.Builder pathId(String pathId)

      The path identifier.

      Parameters:
      pathId - The path identifier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recordErrors

      RecordDetail.Builder recordErrors(Collection<RecordError> recordErrors)

      The errors that occurred.

      Parameters:
      recordErrors - The errors that occurred.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recordErrors

      RecordDetail.Builder recordErrors(RecordError... recordErrors)

      The errors that occurred.

      Parameters:
      recordErrors - The errors that occurred.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recordErrors

      RecordDetail.Builder recordErrors(Consumer<RecordError.Builder>... recordErrors)

      The errors that occurred.

      This is a convenience method that creates an instance of the RecordError.Builder avoiding the need to create one manually via RecordError.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to recordErrors(List<RecordError>).

      Parameters:
      recordErrors - a consumer that will call methods on RecordError.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • recordTags

      RecordDetail.Builder recordTags(Collection<RecordTag> recordTags)

      One or more tags.

      Parameters:
      recordTags - One or more tags.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recordTags

      RecordDetail.Builder recordTags(RecordTag... recordTags)

      One or more tags.

      Parameters:
      recordTags - One or more tags.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recordTags

      RecordDetail.Builder recordTags(Consumer<RecordTag.Builder>... recordTags)

      One or more tags.

      This is a convenience method that creates an instance of the RecordTag.Builder avoiding the need to create one manually via RecordTag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to recordTags(List<RecordTag>).

      Parameters:
      recordTags - a consumer that will call methods on RecordTag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • launchRoleArn

      RecordDetail.Builder launchRoleArn(String launchRoleArn)

      The ARN of the launch role associated with the provisioned product.

      Parameters:
      launchRoleArn - The ARN of the launch role associated with the provisioned product.
      Returns:
      Returns a reference to this object so that method calls can be chained together.