public static interface GetDistributionsResponse.Builder extends LightsailResponse.Builder, SdkPojo, CopyableBuilder<GetDistributionsResponse.Builder,GetDistributionsResponse>
Modifier and Type | Method and Description |
---|---|
GetDistributionsResponse.Builder |
distributions(Collection<LightsailDistribution> distributions)
An array of objects that describe your distributions.
|
GetDistributionsResponse.Builder |
distributions(Consumer<LightsailDistribution.Builder>... distributions)
An array of objects that describe your distributions.
|
GetDistributionsResponse.Builder |
distributions(LightsailDistribution... distributions)
An array of objects that describe your distributions.
|
GetDistributionsResponse.Builder |
nextPageToken(String nextPageToken)
The token to advance to the next page of results from your request.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
GetDistributionsResponse.Builder distributions(Collection<LightsailDistribution> distributions)
An array of objects that describe your distributions.
distributions
- An array of objects that describe your distributions.GetDistributionsResponse.Builder distributions(LightsailDistribution... distributions)
An array of objects that describe your distributions.
distributions
- An array of objects that describe your distributions.GetDistributionsResponse.Builder distributions(Consumer<LightsailDistribution.Builder>... distributions)
An array of objects that describe your distributions.
This is a convenience that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #distributions(List)
.distributions
- a consumer that will call methods on List.Builder
#distributions(List)
GetDistributionsResponse.Builder nextPageToken(String nextPageToken)
The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetDistributions
request and specify the next
page token using the pageToken
parameter.
nextPageToken
- The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetDistributions
request and specify the
next page token using the pageToken
parameter.