Interface StackResource.Builder

    • Method Detail

      • stackName

        StackResource.Builder stackName​(String stackName)

        The name associated with the stack.

        Parameters:
        stackName - The name associated with the stack.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stackId

        StackResource.Builder stackId​(String stackId)

        Unique identifier of the stack.

        Parameters:
        stackId - Unique identifier of the stack.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • logicalResourceId

        StackResource.Builder logicalResourceId​(String logicalResourceId)

        The logical name of the resource specified in the template.

        Parameters:
        logicalResourceId - The logical name of the resource specified in the template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • physicalResourceId

        StackResource.Builder physicalResourceId​(String physicalResourceId)

        The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.

        Parameters:
        physicalResourceId - The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • timestamp

        StackResource.Builder timestamp​(Instant timestamp)

        Time the status was updated.

        Parameters:
        timestamp - Time the status was updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceStatus

        StackResource.Builder resourceStatus​(String resourceStatus)

        Current status of the resource.

        Parameters:
        resourceStatus - Current status of the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ResourceStatus, ResourceStatus
      • resourceStatusReason

        StackResource.Builder resourceStatusReason​(String resourceStatusReason)

        Success/failure message associated with the resource.

        Parameters:
        resourceStatusReason - Success/failure message associated with the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        StackResource.Builder description​(String description)

        User defined description associated with the resource.

        Parameters:
        description - User defined description associated with the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • moduleInfo

        StackResource.Builder moduleInfo​(ModuleInfo moduleInfo)

        Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.

        Parameters:
        moduleInfo - Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.