Interface StackResourceDetail.Builder

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

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

    • stackName

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

      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

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

      StackResourceDetail.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.
    • resourceType

      StackResourceDetail.Builder resourceType(String resourceType)

      Type of resource. For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.

      Parameters:
      resourceType - Type of resource. For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedTimestamp

      StackResourceDetail.Builder lastUpdatedTimestamp(Instant lastUpdatedTimestamp)

      Time the status was updated.

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

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

      StackResourceDetail.Builder resourceStatus(ResourceStatus 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:
    • resourceStatusReason

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

      StackResourceDetail.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.
    • metadata

      StackResourceDetail.Builder metadata(String metadata)

      The content of the Metadata attribute declared for the resource. For more information, see Metadata Attribute in the CloudFormation User Guide.

      Parameters:
      metadata - The content of the Metadata attribute declared for the resource. For more information, see Metadata Attribute in the CloudFormation User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • driftInformation

      StackResourceDetail.Builder driftInformation(StackResourceDriftInformation driftInformation)

      Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

      Parameters:
      driftInformation - Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • driftInformation

      default StackResourceDetail.Builder driftInformation(Consumer<StackResourceDriftInformation.Builder> driftInformation)

      Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to driftInformation(StackResourceDriftInformation).

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

      StackResourceDetail.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.
    • moduleInfo

      default StackResourceDetail.Builder moduleInfo(Consumer<ModuleInfo.Builder> 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.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to moduleInfo(ModuleInfo).

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