Interface UngroupResourcesResponse.Builder

    • Method Detail

      • succeeded

        UngroupResourcesResponse.Builder succeeded​(Collection<String> succeeded)

        A list of resources that were successfully removed from the group by this operation.

        Parameters:
        succeeded - A list of resources that were successfully removed from the group by this operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • succeeded

        UngroupResourcesResponse.Builder succeeded​(String... succeeded)

        A list of resources that were successfully removed from the group by this operation.

        Parameters:
        succeeded - A list of resources that were successfully removed from the group by this operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failed

        UngroupResourcesResponse.Builder failed​(Collection<FailedResource> failed)

        A list of any resources that failed to be removed from the group by this operation.

        Parameters:
        failed - A list of any resources that failed to be removed from the group by this operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failed

        UngroupResourcesResponse.Builder failed​(FailedResource... failed)

        A list of any resources that failed to be removed from the group by this operation.

        Parameters:
        failed - A list of any resources that failed to be removed from the group by this operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • pending

        UngroupResourcesResponse.Builder pending​(Collection<PendingResource> pending)

        A list of any resources that are still in the process of being removed from the group by this operation. These pending removals continue asynchronously. You can check the status of pending removals by using the ListGroupResources operation. After the resource is successfully removed, it no longer appears in the response.

        Parameters:
        pending - A list of any resources that are still in the process of being removed from the group by this operation. These pending removals continue asynchronously. You can check the status of pending removals by using the ListGroupResources operation. After the resource is successfully removed, it no longer appears in the response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • pending

        UngroupResourcesResponse.Builder pending​(PendingResource... pending)

        A list of any resources that are still in the process of being removed from the group by this operation. These pending removals continue asynchronously. You can check the status of pending removals by using the ListGroupResources operation. After the resource is successfully removed, it no longer appears in the response.

        Parameters:
        pending - A list of any resources that are still in the process of being removed from the group by this operation. These pending removals continue asynchronously. You can check the status of pending removals by using the ListGroupResources operation. After the resource is successfully removed, it no longer appears in the response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • pending

        UngroupResourcesResponse.Builder pending​(Consumer<PendingResource.Builder>... pending)

        A list of any resources that are still in the process of being removed from the group by this operation. These pending removals continue asynchronously. You can check the status of pending removals by using the ListGroupResources operation. After the resource is successfully removed, it no longer appears in the response.

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

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

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