Interface ListSourceLocationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListSourceLocationsResponse.Builder,ListSourceLocationsResponse>,MediaTailorResponse.Builder,SdkBuilder<ListSourceLocationsResponse.Builder,ListSourceLocationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListSourceLocationsResponse
public static interface ListSourceLocationsResponse.Builder extends MediaTailorResponse.Builder, SdkPojo, CopyableBuilder<ListSourceLocationsResponse.Builder,ListSourceLocationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListSourceLocationsResponse.Builderitems(Collection<SourceLocation> items)A list of source locations.ListSourceLocationsResponse.Builderitems(Consumer<SourceLocation.Builder>... items)A list of source locations.ListSourceLocationsResponse.Builderitems(SourceLocation... items)A list of source locations.ListSourceLocationsResponse.BuildernextToken(String nextToken)Pagination token returned by the list request when results exceed the maximum allowed.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.mediatailor.model.MediaTailorResponse.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 Detail
-
items
ListSourceLocationsResponse.Builder items(Collection<SourceLocation> items)
A list of source locations.
- Parameters:
items- A list of source locations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListSourceLocationsResponse.Builder items(SourceLocation... items)
A list of source locations.
- Parameters:
items- A list of source locations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListSourceLocationsResponse.Builder items(Consumer<SourceLocation.Builder>... items)
A list of source locations.
This is a convenience method that creates an instance of theSourceLocation.Builderavoiding the need to create one manually viaSourceLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#items(List.) - Parameters:
items- a consumer that will call methods onSourceLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#items(java.util.Collection)
-
nextToken
ListSourceLocationsResponse.Builder nextToken(String nextToken)
Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.
- Parameters:
nextToken- Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-