Interface ListRevisionAssetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListRevisionAssetsResponse.Builder,
,ListRevisionAssetsResponse> DataExchangeResponse.Builder
,SdkBuilder<ListRevisionAssetsResponse.Builder,
,ListRevisionAssetsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListRevisionAssetsResponse
public static interface ListRevisionAssetsResponse.Builder
extends DataExchangeResponse.Builder, SdkPojo, CopyableBuilder<ListRevisionAssetsResponse.Builder,ListRevisionAssetsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionassets
(Collection<AssetEntry> assets) The asset objects listed by the request.assets
(Consumer<AssetEntry.Builder>... assets) The asset objects listed by the request.assets
(AssetEntry... assets) The asset objects listed by the request.The token value retrieved from a previous call to access the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.dataexchange.model.DataExchangeResponse.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
-
assets
The asset objects listed by the request.
- Parameters:
assets
- The asset objects listed by the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assets
The asset objects listed by the request.
- Parameters:
assets
- The asset objects listed by the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assets
The asset objects listed by the request.
This is a convenience method that creates an instance of theAssetEntry.Builder
avoiding the need to create one manually viaAssetEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassets(List<AssetEntry>)
.- Parameters:
assets
- a consumer that will call methods onAssetEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token value retrieved from a previous call to access the next page of results.
- Parameters:
nextToken
- The token value retrieved from a previous call to access the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-