Interface ResourceDetail.Builder

    • Method Detail

      • resourceType

        ResourceDetail.Builder resourceType​(String resourceType)

        The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see IaC generator supported resource types In the CloudFormation User Guide

        Parameters:
        resourceType - The type of the resource, such as AWS::DynamoDB::Table. For the list of supported resources, see IaC generator supported resource types 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 User guide for extension development.

        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 User guide for extension development.
        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:
        GeneratedTemplateResourceStatus, GeneratedTemplateResourceStatus
      • resourceStatus

        ResourceDetail.Builder resourceStatus​(GeneratedTemplateResourceStatus 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:
        GeneratedTemplateResourceStatus, GeneratedTemplateResourceStatus
      • 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

        ResourceDetail.Builder warnings​(Collection<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

        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.