Interface ListResiliencyGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListResiliencyGroupsResponse.Builder,,ListResiliencyGroupsResponse> DirectConnectResponse.Builder,SdkBuilder<ListResiliencyGroupsResponse.Builder,,ListResiliencyGroupsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListResiliencyGroupsResponse
@Mutable
@NotThreadSafe
public static interface ListResiliencyGroupsResponse.Builder
extends DirectConnectResponse.Builder, SdkPojo, CopyableBuilder<ListResiliencyGroupsResponse.Builder,ListResiliencyGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<ResiliencyGroupSummary> items) Summary information about the resiliency groups.items(Consumer<ResiliencyGroupSummary.Builder>... items) Summary information about the resiliency groups.items(ResiliencyGroupSummary... items) Summary information about the resiliency groups.The token to use to retrieve the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.directconnect.model.DirectConnectResponse.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
-
items
Summary information about the resiliency groups.
- Parameters:
items- Summary information about the resiliency groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Summary information about the resiliency groups.
- Parameters:
items- Summary information about the resiliency groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Summary information about the resiliency groups.
This is a convenience method that creates an instance of theResiliencyGroupSummary.Builderavoiding the need to create one manually viaResiliencyGroupSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<ResiliencyGroupSummary>).- Parameters:
items- a consumer that will call methods onResiliencyGroupSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to retrieve the next page of results. This value is
nullwhen there are no more results to return.- Parameters:
nextToken- The token to use to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-