Interface GetSitesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetSitesResponse.Builder,
,GetSitesResponse> NetworkManagerResponse.Builder
,SdkBuilder<GetSitesResponse.Builder,
,GetSitesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetSitesResponse
public static interface GetSitesResponse.Builder
extends NetworkManagerResponse.Builder, SdkPojo, CopyableBuilder<GetSitesResponse.Builder,GetSitesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token for the next page of results.sites
(Collection<Site> sites) The sites.sites
(Consumer<Site.Builder>... sites) The sites.The sites.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.networkmanager.model.NetworkManagerResponse.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 Details
-
sites
The sites.
- Parameters:
sites
- The sites.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sites
The sites.
- Parameters:
sites
- The sites.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sites
The sites.
This is a convenience method that creates an instance of theSite.Builder
avoiding the need to create one manually viaSite.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosites(List<Site>)
.- Parameters:
sites
- a consumer that will call methods onSite.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.
-