Interface ListTunnelsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListTunnelsResponse.Builder,,ListTunnelsResponse> IoTSecureTunnelingResponse.Builder,SdkBuilder<ListTunnelsResponse.Builder,,ListTunnelsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListTunnelsResponse
@Mutable
@NotThreadSafe
public static interface ListTunnelsResponse.Builder
extends IoTSecureTunnelingResponse.Builder, SdkPojo, CopyableBuilder<ListTunnelsResponse.Builder,ListTunnelsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use to get the next set of results, or null if there are no additional results.tunnelSummaries(Collection<TunnelSummary> tunnelSummaries) A short description of the tunnels in an Amazon Web Services account.tunnelSummaries(Consumer<TunnelSummary.Builder>... tunnelSummaries) A short description of the tunnels in an Amazon Web Services account.tunnelSummaries(TunnelSummary... tunnelSummaries) A short description of the tunnels in an Amazon Web Services account.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotsecuretunneling.model.IoTSecureTunnelingResponse.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
-
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
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
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 totunnelSummaries(List<TunnelSummary>).- 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:
-
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.
-