Interface ResourceDetail.Builder

  • Method Details

    • resourceType

      ResourceDetail.Builder resourceType(String resourceType)

      The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see Resource type support for imports and drift detection In the CloudFormation User Guide

      Parameters:
      resourceType - The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see Resource type support for imports and drift detection In the CloudFormation User Guide
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logicalResourceId

      ResourceDetail.Builder logicalResourceId(String logicalResourceId)

      The logical id for this resource in the final generated template.

      Parameters:
      logicalResourceId - The logical id for this resource in the final generated template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceIdentifier

      ResourceDetail.Builder resourceIdentifier(Map<String,String> resourceIdentifier)

      A list of up to 256 key-value pairs that identifies the resource in the generated template. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface (CLI) User Guide.

      Parameters:
      resourceIdentifier - A list of up to 256 key-value pairs that identifies the resource in the generated template. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable". For more information, see primaryIdentifier in the CloudFormation Command Line Interface (CLI) User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceStatus

      ResourceDetail.Builder resourceStatus(String resourceStatus)

      Status of the processing of a resource in a generated template.

      InProgress

      The resource processing is still in progress.

      Complete

      The resource processing is complete.

      Pending

      The resource processing is pending.

      Failed

      The resource processing has failed.

      Parameters:
      resourceStatus - Status of the processing of a resource in a generated template.

      InProgress

      The resource processing is still in progress.

      Complete

      The resource processing is complete.

      Pending

      The resource processing is pending.

      Failed

      The resource processing has failed.

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

      Status of the processing of a resource in a generated template.

      InProgress

      The resource processing is still in progress.

      Complete

      The resource processing is complete.

      Pending

      The resource processing is pending.

      Failed

      The resource processing has failed.

      Parameters:
      resourceStatus - Status of the processing of a resource in a generated template.

      InProgress

      The resource processing is still in progress.

      Complete

      The resource processing is complete.

      Pending

      The resource processing is pending.

      Failed

      The resource processing has failed.

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

      ResourceDetail.Builder resourceStatusReason(String resourceStatusReason)

      The reason for the resource detail, providing more information if a failure happened.

      Parameters:
      resourceStatusReason - The reason for the resource detail, providing more information if a failure happened.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • warnings

      The warnings generated for this resource.

      Parameters:
      warnings - The warnings generated for this resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • warnings

      ResourceDetail.Builder warnings(WarningDetail... warnings)

      The warnings generated for this resource.

      Parameters:
      warnings - The warnings generated for this resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • warnings

      The warnings generated for this resource.

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

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

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