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
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, sdkFieldNameToField, sdkFields
Methods 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.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 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
ListGroupResources
operation, and checking theResources
array in the response and theStatus
field 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 theListGroupResources
operation, and checking theResources
array in the response and theStatus
field 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
ListGroupResources
operation, and checking theResources
array in the response and theStatus
field 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 theListGroupResources
operation, and checking theResources
array in the response and theStatus
field 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 theListGroupResources
operation, and checking theResources
array in the response and theStatus
field of each object in that array.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:
-