Interface GroupResourcesResponse.Builder

    • Method Detail

      • succeeded

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

        A list of ARNs of the resources that this operation successfully added to the group.

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

        GroupResourcesResponse.Builder succeeded​(String... succeeded)

        A list of ARNs of the resources that this operation successfully added to the group.

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

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

        A list of ARNs of any resources that this operation failed to add to the group.

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

        GroupResourcesResponse.Builder failed​(FailedResource... failed)

        A list of ARNs of any resources that this operation failed to add to the group.

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

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

        A list of ARNs of any resources that this operation is still in the process adding to the group. These pending additions continue asynchronously. You can check the status of pending additions by using the ListGroupResources operation, and checking the Resources array in the response and the Status field of each object in that array.

        Parameters:
        pending - A list of ARNs of any resources that this operation is still in the process adding to the group. These pending additions continue asynchronously. You can check the status of pending additions by using the ListGroupResources operation, and checking the Resources array in the response and the Status field of each object in that array.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • pending

        GroupResourcesResponse.Builder pending​(PendingResource... pending)

        A list of ARNs of any resources that this operation is still in the process adding to the group. These pending additions continue asynchronously. You can check the status of pending additions by using the ListGroupResources operation, and checking the Resources array in the response and the Status field of each object in that array.

        Parameters:
        pending - A list of ARNs of any resources that this operation is still in the process adding to the group. These pending additions continue asynchronously. You can check the status of pending additions by using the ListGroupResources operation, and checking the Resources array in the response and the Status field of each object in that array.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • pending

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

        A list of ARNs of any resources that this operation is still in the process adding to the group. These pending additions continue asynchronously. You can check the status of pending additions by using the ListGroupResources operation, and checking the Resources array in the response and the Status field of each object in that array.

        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)