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 failed to be added to the group by this operation.
|
GroupResourcesResponse.Builder |
failed(Consumer<FailedResource.Builder>... failed)
A list of ARNs of any resources that failed to be added to the group by this operation.
|
GroupResourcesResponse.Builder |
failed(FailedResource... failed)
A list of ARNs of any resources that failed to be added to the group by this operation.
|
GroupResourcesResponse.Builder |
pending(Collection<PendingResource> pending)
A list of ARNs of any resources that are still in the process of being added to the group by this operation.
|
GroupResourcesResponse.Builder |
pending(Consumer<PendingResource.Builder>... pending)
A list of ARNs of any resources that are still in the process of being added to the group by this operation.
|
GroupResourcesResponse.Builder |
pending(PendingResource... pending)
A list of ARNs of any resources that are still in the process of being added to the group by this operation.
|
GroupResourcesResponse.Builder |
succeeded(Collection<String> succeeded)
A list of ARNs of resources that were successfully added to the group by this operation.
|
GroupResourcesResponse.Builder |
succeeded(String... succeeded)
A list of ARNs of resources that were successfully added to the group by this operation.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGroupResourcesResponse.Builder succeeded(Collection<String> succeeded)
A list of ARNs of resources that were successfully added to the group by this operation.
succeeded - A list of ARNs of resources that were successfully added to the group by this operation.GroupResourcesResponse.Builder succeeded(String... succeeded)
A list of ARNs of resources that were successfully added to the group by this operation.
succeeded - A list of ARNs of resources that were successfully added to the group by this operation.GroupResourcesResponse.Builder failed(Collection<FailedResource> failed)
A list of ARNs of any resources that failed to be added to the group by this operation.
failed - A list of ARNs of any resources that failed to be added to the group by this operation.GroupResourcesResponse.Builder failed(FailedResource... failed)
A list of ARNs of any resources that failed to be added to the group by this operation.
failed - A list of ARNs of any resources that failed to be added to the group by this operation.GroupResourcesResponse.Builder failed(Consumer<FailedResource.Builder>... failed)
A list of ARNs of any resources that failed to be added to the group by this operation.
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 are still in the process of being added to the group by this operation.
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 are still in the process of being added to the group by this
operation. 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 are still in the process of being added to the group by this operation.
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 are still in the process of being added to the group by this
operation. 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 are still in the process of being added to the group by this operation.
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.