public static interface ListOriginEndpointsResponse.Builder extends MediaPackageResponse.Builder, CopyableBuilder<ListOriginEndpointsResponse.Builder,ListOriginEndpointsResponse>
Modifier and Type | Method and Description |
---|---|
ListOriginEndpointsResponse.Builder |
nextToken(String nextToken)
A token that can be used to resume pagination from the end of the collection.
|
ListOriginEndpointsResponse.Builder |
originEndpoints(Collection<OriginEndpoint> originEndpoints)
A list of OriginEndpoint records.
|
ListOriginEndpointsResponse.Builder |
originEndpoints(Consumer<OriginEndpoint.Builder>... originEndpoints)
A list of OriginEndpoint records.
|
ListOriginEndpointsResponse.Builder |
originEndpoints(OriginEndpoint... originEndpoints)
A list of OriginEndpoint records.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListOriginEndpointsResponse.Builder nextToken(String nextToken)
nextToken
- A token that can be used to resume pagination from the end of the collection.ListOriginEndpointsResponse.Builder originEndpoints(Collection<OriginEndpoint> originEndpoints)
originEndpoints
- A list of OriginEndpoint records.ListOriginEndpointsResponse.Builder originEndpoints(OriginEndpoint... originEndpoints)
originEndpoints
- A list of OriginEndpoint records.ListOriginEndpointsResponse.Builder originEndpoints(Consumer<OriginEndpoint.Builder>... originEndpoints)
.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 #originEndpoints(List)
.originEndpoints
- a consumer that will call methods on List.Builder
#originEndpoints(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.