Interface DeleteProjectResponse.Builder

    • Method Detail

      • deletedResources

        DeleteProjectResponse.Builder deletedResources​(Collection<Resource> deletedResources)

        Resources which were deleted.

        Parameters:
        deletedResources - Resources which were deleted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deletedResources

        DeleteProjectResponse.Builder deletedResources​(Resource... deletedResources)

        Resources which were deleted.

        Parameters:
        deletedResources - Resources which were deleted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • orphanedResources

        DeleteProjectResponse.Builder orphanedResources​(Collection<Resource> orphanedResources)

        Resources which were not deleted, due to a risk of losing potentially important data or files.

        Parameters:
        orphanedResources - Resources which were not deleted, due to a risk of losing potentially important data or files.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • orphanedResources

        DeleteProjectResponse.Builder orphanedResources​(Resource... orphanedResources)

        Resources which were not deleted, due to a risk of losing potentially important data or files.

        Parameters:
        orphanedResources - Resources which were not deleted, due to a risk of losing potentially important data or files.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • orphanedResources

        DeleteProjectResponse.Builder orphanedResources​(Consumer<Resource.Builder>... orphanedResources)

        Resources which were not deleted, due to a risk of losing potentially important data or files.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #orphanedResources(List).

        Parameters:
        orphanedResources - a consumer that will call methods on Resource.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #orphanedResources(java.util.Collection)