Interface DescribeOutpostLagsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeOutpostLagsResponse.Builder,
,DescribeOutpostLagsResponse> Ec2Response.Builder
,SdkBuilder<DescribeOutpostLagsResponse.Builder,
,DescribeOutpostLagsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeOutpostLagsResponse
@Mutable
@NotThreadSafe
public static interface DescribeOutpostLagsResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeOutpostLagsResponse.Builder,DescribeOutpostLagsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use to retrieve the next page of results.outpostLags
(Collection<OutpostLag> outpostLags) The Outpost LAGs.outpostLags
(Consumer<OutpostLag.Builder>... outpostLags) The Outpost LAGs.outpostLags
(OutpostLag... outpostLags) The Outpost LAGs.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.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
-
outpostLags
The Outpost LAGs.
- Parameters:
outpostLags
- The Outpost LAGs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outpostLags
The Outpost LAGs.
- Parameters:
outpostLags
- The Outpost LAGs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outpostLags
The Outpost LAGs.
This is a convenience method that creates an instance of theOutpostLag.Builder
avoiding the need to create one manually viaOutpostLag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutpostLags(List<OutpostLag>)
.- Parameters:
outpostLags
- a consumer that will call methods onOutpostLag.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
null
when there are no more results to return.- Parameters:
nextToken
- The token to use to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-