Interface UngroupResourcesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UngroupResourcesResponse.Builder,UngroupResourcesResponse>,ResourceGroupsResponse.Builder,SdkBuilder<UngroupResourcesResponse.Builder,UngroupResourcesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UngroupResourcesResponse
public static interface UngroupResourcesResponse.Builder extends ResourceGroupsResponse.Builder, SdkPojo, CopyableBuilder<UngroupResourcesResponse.Builder,UngroupResourcesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UngroupResourcesResponse.Builderfailed(Collection<FailedResource> failed)A list of any resources that failed to be removed from the group by this operation.UngroupResourcesResponse.Builderfailed(Consumer<FailedResource.Builder>... failed)A list of any resources that failed to be removed from the group by this operation.UngroupResourcesResponse.Builderfailed(FailedResource... failed)A list of any resources that failed to be removed from the group by this operation.UngroupResourcesResponse.Builderpending(Collection<PendingResource> pending)A list of any resources that are still in the process of being removed from the group by this operation.UngroupResourcesResponse.Builderpending(Consumer<PendingResource.Builder>... pending)A list of any resources that are still in the process of being removed from the group by this operation.UngroupResourcesResponse.Builderpending(PendingResource... pending)A list of any resources that are still in the process of being removed from the group by this operation.UngroupResourcesResponse.Buildersucceeded(String... succeeded)A list of resources that were successfully removed from the group by this operation.UngroupResourcesResponse.Buildersucceeded(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 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.
-
failed
UngroupResourcesResponse.Builder failed(Consumer<FailedResource.Builder>... 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.Builderavoiding the need to create one manually viaFailedResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#failed(List.) - 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:
#failed(java.util.Collection)
-
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
ListGroupResourcesoperation. 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 theListGroupResourcesoperation. 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
ListGroupResourcesoperation. 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 theListGroupResourcesoperation. 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
This is a convenience method that creates an instance of theListGroupResourcesoperation. After the resource is successfully removed, it no longer appears in the response.PendingResource.Builderavoiding the need to create one manually viaPendingResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#pending(List.) - 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:
#pending(java.util.Collection)
-
-