Interface DescribeInternetGatewaysResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeInternetGatewaysResponse.Builder,DescribeInternetGatewaysResponse>
,Ec2Response.Builder
,SdkBuilder<DescribeInternetGatewaysResponse.Builder,DescribeInternetGatewaysResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeInternetGatewaysResponse
public static interface DescribeInternetGatewaysResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeInternetGatewaysResponse.Builder,DescribeInternetGatewaysResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeInternetGatewaysResponse.Builder
internetGateways(Collection<InternetGateway> internetGateways)
Information about one or more internet gateways.DescribeInternetGatewaysResponse.Builder
internetGateways(Consumer<InternetGateway.Builder>... internetGateways)
Information about one or more internet gateways.DescribeInternetGatewaysResponse.Builder
internetGateways(InternetGateway... internetGateways)
Information about one or more internet gateways.DescribeInternetGatewaysResponse.Builder
nextToken(String nextToken)
The token to include in another request to get the next page of items.-
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
internetGateways
DescribeInternetGatewaysResponse.Builder internetGateways(Collection<InternetGateway> internetGateways)
Information about one or more internet gateways.
- Parameters:
internetGateways
- Information about one or more internet gateways.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
internetGateways
DescribeInternetGatewaysResponse.Builder internetGateways(InternetGateway... internetGateways)
Information about one or more internet gateways.
- Parameters:
internetGateways
- Information about one or more internet gateways.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
internetGateways
DescribeInternetGatewaysResponse.Builder internetGateways(Consumer<InternetGateway.Builder>... internetGateways)
Information about one or more internet gateways.
This is a convenience method that creates an instance of theInternetGateway.Builder
avoiding the need to create one manually viaInternetGateway.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#internetGateways(List
.) - Parameters:
internetGateways
- a consumer that will call methods onInternetGateway.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#internetGateways(java.util.Collection
)
-
nextToken
DescribeInternetGatewaysResponse.Builder nextToken(String nextToken)
The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.- Parameters:
nextToken
- The token to include in another request to get the next page of items. This value isnull
when there are no more items to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-