Interface ListResourceSetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListResourceSetsResponse.Builder,,ListResourceSetsResponse> Route53RecoveryReadinessResponse.Builder,SdkBuilder<ListResourceSetsResponse.Builder,,ListResourceSetsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListResourceSetsResponse
public static interface ListResourceSetsResponse.Builder
extends Route53RecoveryReadinessResponse.Builder, SdkPojo, CopyableBuilder<ListResourceSetsResponse.Builder,ListResourceSetsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token that identifies which batch of results you want to see.resourceSets(Collection<ResourceSetOutput> resourceSets) A list of resource sets associated with the account.resourceSets(Consumer<ResourceSetOutput.Builder>... resourceSets) A list of resource sets associated with the account.resourceSets(ResourceSetOutput... resourceSets) A list of resource sets associated with the account.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.route53recoveryreadiness.model.Route53RecoveryReadinessResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
The token that identifies which batch of results you want to see.
- Parameters:
nextToken- The token that identifies which batch of results you want to see.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceSets
A list of resource sets associated with the account.
- Parameters:
resourceSets- A list of resource sets associated with the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceSets
A list of resource sets associated with the account.
- Parameters:
resourceSets- A list of resource sets associated with the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceSets
A list of resource sets associated with the account.
This is a convenience method that creates an instance of theResourceSetOutput.Builderavoiding the need to create one manually viaResourceSetOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceSets(List<ResourceSetOutput>).- Parameters:
resourceSets- a consumer that will call methods onResourceSetOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-