Interface GroupResourcesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GroupResourcesResponse.Builder,GroupResourcesResponse>,ResourceGroupsResponse.Builder,SdkBuilder<GroupResourcesResponse.Builder,GroupResourcesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GroupResourcesResponse
public static interface GroupResourcesResponse.Builder extends ResourceGroupsResponse.Builder, SdkPojo, CopyableBuilder<GroupResourcesResponse.Builder,GroupResourcesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GroupResourcesResponse.Builderfailed(Collection<FailedResource> failed)A list of ARNs of any resources that this operation failed to add to the group.GroupResourcesResponse.Builderfailed(Consumer<FailedResource.Builder>... failed)A list of ARNs of any resources that this operation failed to add to the group.GroupResourcesResponse.Builderfailed(FailedResource... failed)A list of ARNs of any resources that this operation failed to add to the group.GroupResourcesResponse.Builderpending(Collection<PendingResource> pending)A list of ARNs of any resources that this operation is still in the process adding to the group.GroupResourcesResponse.Builderpending(Consumer<PendingResource.Builder>... pending)A list of ARNs of any resources that this operation is still in the process adding to the group.GroupResourcesResponse.Builderpending(PendingResource... pending)A list of ARNs of any resources that this operation is still in the process adding to the group.GroupResourcesResponse.Buildersucceeded(String... succeeded)A list of ARNs of the resources that this operation successfully added to the group.GroupResourcesResponse.Buildersucceeded(Collection<String> succeeded)A list of 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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
succeeded
GroupResourcesResponse.Builder succeeded(Collection<String> succeeded)
A list of ARNs of the resources that this operation successfully added to the group.
- Parameters:
succeeded- A list of 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
GroupResourcesResponse.Builder succeeded(String... succeeded)
A list of ARNs of the resources that this operation successfully added to the group.
- Parameters:
succeeded- A list of 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
GroupResourcesResponse.Builder failed(Collection<FailedResource> failed)
A list of ARNs of any resources that this operation failed to add to the group.
- Parameters:
failed- A list of 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
GroupResourcesResponse.Builder failed(FailedResource... failed)
A list of ARNs of any resources that this operation failed to add to the group.
- Parameters:
failed- A list of 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
GroupResourcesResponse.Builder failed(Consumer<FailedResource.Builder>... failed)
A list of 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 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
GroupResourcesResponse.Builder pending(Collection<PendingResource> pending)
A list of 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 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
GroupResourcesResponse.Builder pending(PendingResource... pending)
A list of 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 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
GroupResourcesResponse.Builder pending(Consumer<PendingResource.Builder>... pending)
A list of 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 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)
-
-