Interface DescribeLagsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeLagsResponse.Builder,,DescribeLagsResponse> DirectConnectResponse.Builder,SdkBuilder<DescribeLagsResponse.Builder,,DescribeLagsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeLagsResponse
@Mutable
@NotThreadSafe
public static interface DescribeLagsResponse.Builder
extends DirectConnectResponse.Builder, SdkPojo, CopyableBuilder<DescribeLagsResponse.Builder,DescribeLagsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionlags(Collection<Lag> lags) The LAGs.lags(Consumer<Lag.Builder>... lags) The LAGs.The LAGs.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
-
lags
The LAGs.
- Parameters:
lags- The LAGs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lags
The LAGs.
- Parameters:
lags- The LAGs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lags
The LAGs.
This is a convenience method that creates an instance of theLag.Builderavoiding the need to create one manually viaLag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolags(List<Lag>).- Parameters:
lags- a consumer that will call methods onLag.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.
-