Interface ListNetworkSitesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListNetworkSitesResponse.Builder,,ListNetworkSitesResponse> PrivateNetworksResponse.Builder,SdkBuilder<ListNetworkSitesResponse.Builder,,ListNetworkSitesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListNetworkSitesResponse
public static interface ListNetworkSitesResponse.Builder
extends PrivateNetworksResponse.Builder, SdkPojo, CopyableBuilder<ListNetworkSitesResponse.Builder,ListNetworkSitesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionnetworkSites(Collection<NetworkSite> networkSites) Information about the network sites.networkSites(Consumer<NetworkSite.Builder>... networkSites) Information about the network sites.networkSites(NetworkSite... networkSites) Information about the network sites.The token for the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.privatenetworks.model.PrivateNetworksResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
networkSites
Information about the network sites.
- Parameters:
networkSites- Information about the network sites.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkSites
Information about the network sites.
- Parameters:
networkSites- Information about the network sites.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkSites
Information about the network sites.
This is a convenience method that creates an instance of theNetworkSite.Builderavoiding the need to create one manually viaNetworkSite.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonetworkSites(List<NetworkSite>).- Parameters:
networkSites- a consumer that will call methods onNetworkSite.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token for the next page of results.
- Parameters:
nextToken- The token for the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-