Interface ListNetworksResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListNetworksResponse.Builder,,ListNetworksResponse> SdkBuilder<ListNetworksResponse.Builder,,ListNetworksResponse> SdkPojo,SdkResponse.Builder,WickrResponse.Builder
- Enclosing class:
ListNetworksResponse
@Mutable
@NotThreadSafe
public static interface ListNetworksResponse.Builder
extends WickrResponse.Builder, SdkPojo, CopyableBuilder<ListNetworksResponse.Builder,ListNetworksResponse>
-
Method Summary
Modifier and TypeMethodDescriptionnetworks(Collection<Network> networks) A list of network objects for the Amazon Web Services account.networks(Consumer<Network.Builder>... networks) A list of network objects for the Amazon Web Services account.A list of network objects for the Amazon Web Services account.The token to use for retrieving the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.wickr.model.WickrResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
networks
A list of network objects for the Amazon Web Services account.
- Parameters:
networks- A list of network objects for the Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networks
A list of network objects for the Amazon Web Services account.
- Parameters:
networks- A list of network objects for the Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networks
A list of network objects for the Amazon Web Services account.
This is a convenience method that creates an instance of theNetwork.Builderavoiding the need to create one manually viaNetwork.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonetworks(List<Network>).- Parameters:
networks- a consumer that will call methods onNetwork.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use for retrieving the next page of results. If this is not present, there are no more results.
- Parameters:
nextToken- The token to use for retrieving the next page of results. If this is not present, there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-