Interface GroupResourcesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GroupResourcesResponse.Builder,,GroupResourcesResponse> ResourceGroupsResponse.Builder,SdkBuilder<GroupResourcesResponse.Builder,,GroupResourcesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GroupResourcesResponse
-
Method Summary
Modifier and TypeMethodDescriptionfailed(Collection<FailedResource> failed) A list of Amazon resource names (ARNs) of any resources that this operation failed to add to the group.failed(Consumer<FailedResource.Builder>... failed) A list of Amazon resource names (ARNs) of any resources that this operation failed to add to the group.failed(FailedResource... failed) A list of Amazon resource names (ARNs) of any resources that this operation failed to add to the group.pending(Collection<PendingResource> pending) A list of Amazon resource names (ARNs) of any resources that this operation is still in the process adding to the group.pending(Consumer<PendingResource.Builder>... pending) A list of Amazon resource names (ARNs) of any resources that this operation is still in the process adding to the group.pending(PendingResource... pending) A list of Amazon resource names (ARNs) of any resources that this operation is still in the process adding to the group.A list of Amazon resource names (ARNs) of the resources that this operation successfully added to the group.succeeded(Collection<String> succeeded) A list of Amazon resource names (ARNs) of the resources that this operation successfully added to the group.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.resourcegroups.model.ResourceGroupsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
succeeded
A list of Amazon resource names (ARNs) of the resources that this operation successfully added to the group.
- Parameters:
succeeded- A list of Amazon resource names (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
A list of Amazon resource names (ARNs) of the resources that this operation successfully added to the group.
- Parameters:
succeeded- A list of Amazon resource names (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
A list of Amazon resource names (ARNs) of any resources that this operation failed to add to the group.
- Parameters:
failed- A list of Amazon resource names (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
A list of Amazon resource names (ARNs) of any resources that this operation failed to add to the group.
- Parameters:
failed- A list of Amazon resource names (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
A list of Amazon resource names (ARNs) of any resources that this operation failed to add to the group.
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 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 Amazon resource names (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
ListGroupResourcesoperation, and checking theResourcesarray in the response and theStatusfield of each object in that array.- Parameters:
pending- A list of Amazon resource names (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 theListGroupResourcesoperation, and checking theResourcesarray in the response and theStatusfield of each object in that array.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pending
A list of Amazon resource names (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
ListGroupResourcesoperation, and checking theResourcesarray in the response and theStatusfield of each object in that array.- Parameters:
pending- A list of Amazon resource names (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 theListGroupResourcesoperation, and checking theResourcesarray in the response and theStatusfield of each object in that array.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pending
A list of Amazon resource names (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
This is a convenience method that creates an instance of theListGroupResourcesoperation, and checking theResourcesarray in the response and theStatusfield of each object in that array.PendingResource.Builderavoiding the need to create one manually viaPendingResource.builder().When the
Consumercompletes,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:
-