public static interface GroupResourcesResponse.Builder extends ResourceGroupsResponse.Builder, SdkPojo, CopyableBuilder<GroupResourcesResponse.Builder,GroupResourcesResponse>
| Modifier and Type | Method and Description |
|---|---|
GroupResourcesResponse.Builder |
failed(Collection<FailedResource> failed)
A list of ARNs of any resources that this operation failed to add to the group.
|
GroupResourcesResponse.Builder |
failed(Consumer<FailedResource.Builder>... failed)
A list of ARNs of any resources that this operation failed to add to the group.
|
GroupResourcesResponse.Builder |
failed(FailedResource... failed)
A list of ARNs of any resources that this operation failed to add to the group.
|
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.
|
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.
|
GroupResourcesResponse.Builder |
pending(PendingResource... pending)
A list of ARNs of any resources that this operation is still in the process adding to the group.
|
GroupResourcesResponse.Builder |
succeeded(Collection<String> succeeded)
A list of ARNs of the resources that this operation successfully added to the group.
|
GroupResourcesResponse.Builder |
succeeded(String... succeeded)
A list of ARNs of the resources that this operation successfully added to the group.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGroupResourcesResponse.Builder succeeded(Collection<String> succeeded)
A list of ARNs of the resources that this operation successfully added to the group.
succeeded - A list of ARNs of the resources that this operation successfully added to the group.GroupResourcesResponse.Builder succeeded(String... succeeded)
A list of ARNs of the resources that this operation successfully added to the group.
succeeded - A list of ARNs of the resources that this operation successfully added to the group.GroupResourcesResponse.Builder failed(Collection<FailedResource> failed)
A list of ARNs of any resources that this operation failed to add to the group.
failed - A list of ARNs of any resources that this operation failed to add to the group.GroupResourcesResponse.Builder failed(FailedResource... failed)
A list of ARNs of any resources that this operation failed to add to the group.
failed - A list of ARNs of any resources that this operation failed to add to the group.GroupResourcesResponse.Builder failed(Consumer<FailedResource.Builder>... failed)
A list of ARNs of any resources that this operation failed to add to the group.
This is a convenience method that creates an instance of theFailedResource.Builder avoiding the need to
create one manually via FailedResource.builder()
.
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #failed(List.
failed - a consumer that will call methods on
FailedResource.Builder#failed(java.util.Collection) 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.
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.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.
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.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.
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.
pending - a consumer that will call methods on
PendingResource.Builder#pending(java.util.Collection) Copyright © 2023. All rights reserved.