Interface ListTunnelsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListTunnelsResponse.Builder,ListTunnelsResponse>,IoTSecureTunnelingResponse.Builder,SdkBuilder<ListTunnelsResponse.Builder,ListTunnelsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListTunnelsResponse
public static interface ListTunnelsResponse.Builder extends IoTSecureTunnelingResponse.Builder, SdkPojo, CopyableBuilder<ListTunnelsResponse.Builder,ListTunnelsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListTunnelsResponse.BuildernextToken(String nextToken)The token to use to get the next set of results, or null if there are no additional results.ListTunnelsResponse.BuildertunnelSummaries(Collection<TunnelSummary> tunnelSummaries)A short description of the tunnels in an Amazon Web Services account.ListTunnelsResponse.BuildertunnelSummaries(Consumer<TunnelSummary.Builder>... tunnelSummaries)A short description of the tunnels in an Amazon Web Services account.ListTunnelsResponse.BuildertunnelSummaries(TunnelSummary... tunnelSummaries)A short description of the tunnels in an Amazon Web Services account.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iotsecuretunneling.model.IoTSecureTunnelingResponse.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
-
tunnelSummaries
ListTunnelsResponse.Builder tunnelSummaries(Collection<TunnelSummary> tunnelSummaries)
A short description of the tunnels in an Amazon Web Services account.
- Parameters:
tunnelSummaries- A short description of the tunnels in an Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tunnelSummaries
ListTunnelsResponse.Builder tunnelSummaries(TunnelSummary... tunnelSummaries)
A short description of the tunnels in an Amazon Web Services account.
- Parameters:
tunnelSummaries- A short description of the tunnels in an Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tunnelSummaries
ListTunnelsResponse.Builder tunnelSummaries(Consumer<TunnelSummary.Builder>... tunnelSummaries)
A short description of the tunnels in an Amazon Web Services account.
This is a convenience method that creates an instance of theTunnelSummary.Builderavoiding the need to create one manually viaTunnelSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tunnelSummaries(List.) - Parameters:
tunnelSummaries- a consumer that will call methods onTunnelSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tunnelSummaries(java.util.Collection)
-
nextToken
ListTunnelsResponse.Builder nextToken(String nextToken)
The token to use to get the next set of results, or null if there are no additional results.
- Parameters:
nextToken- The token to use to get the next set of results, or null if there are no additional results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-