Interface UngroupResourcesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UngroupResourcesResponse.Builder,
,UngroupResourcesResponse> ResourceGroupsResponse.Builder
,SdkBuilder<UngroupResourcesResponse.Builder,
,UngroupResourcesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UngroupResourcesResponse
-
Method Summary
Modifier and TypeMethodDescriptionfailed
(Collection<FailedResource> failed) A list of any resources that failed to be removed from the group by this operation.failed
(Consumer<FailedResource.Builder>... failed) A list of any resources that failed to be removed from the group by this operation.failed
(FailedResource... failed) A list of any resources that failed to be removed from the group by this operation.pending
(Collection<PendingResource> pending) A list of any resources that are still in the process of being removed from the group by this operation.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.pending
(PendingResource... pending) A list of any resources that are still in the process of being removed from the group by this operation.A list of resources that were successfully removed from the group by this operation.succeeded
(Collection<String> succeeded) A list of resources that were successfully removed from the group by this operation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.resourcegroups.model.ResourceGroupsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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
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
A list of any resources that failed to be removed from the group by this operation.
This is a convenience method that creates an instance of theFailedResource.Builder
avoiding the need to create one manually viaFailedResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofailed(List<FailedResource>)
.- Parameters:
failed
- a consumer that will call methods onFailedResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 theListGroupResources
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
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 theListGroupResources
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
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
This is a convenience method that creates an instance of theListGroupResources
operation. After the resource is successfully removed, it no longer appears in the response.PendingResource.Builder
avoiding the need to create one manually viaPendingResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topending(List<PendingResource>)
.- Parameters:
pending
- a consumer that will call methods onPendingResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-