Interface ResourceChange.Builder

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

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

    • action

      The change action.

      Parameters:
      action - The change action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • action

      The change action.

      Parameters:
      action - The change action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • logicalResourceId

      ResourceChange.Builder logicalResourceId(String logicalResourceId)

      The ID of the resource, as defined in the CloudFormation template.

      Parameters:
      logicalResourceId - The ID of the resource, as defined in the CloudFormation template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • physicalResourceId

      ResourceChange.Builder physicalResourceId(String physicalResourceId)

      The ID of the resource, if it was already created.

      Parameters:
      physicalResourceId - The ID of the resource, if it was already created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceType

      ResourceChange.Builder resourceType(String resourceType)

      The type of resource.

      Parameters:
      resourceType - The type of resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • replacement

      ResourceChange.Builder replacement(String replacement)

      If the change type is Modify, indicates whether the existing resource is deleted and replaced with a new one.

      Parameters:
      replacement - If the change type is Modify, indicates whether the existing resource is deleted and replaced with a new one.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • replacement

      ResourceChange.Builder replacement(Replacement replacement)

      If the change type is Modify, indicates whether the existing resource is deleted and replaced with a new one.

      Parameters:
      replacement - If the change type is Modify, indicates whether the existing resource is deleted and replaced with a new one.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scopeWithStrings

      ResourceChange.Builder scopeWithStrings(Collection<String> scope)

      The change scope.

      Parameters:
      scope - The change scope.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scopeWithStrings

      ResourceChange.Builder scopeWithStrings(String... scope)

      The change scope.

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

      The change scope.

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

      The change scope.

      Parameters:
      scope - The change scope.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • details

      Information about the resource changes.

      Parameters:
      details - Information about the resource changes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • details

      Information about the resource changes.

      Parameters:
      details - Information about the resource changes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • details

      Information about the resource changes.

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

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

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