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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListRevisionAssetsResponse.Builderassets(Collection<AssetEntry> assets)The asset objects listed by the request.ListRevisionAssetsResponse.Builderassets(Consumer<AssetEntry.Builder>... assets)The asset objects listed by the request.ListRevisionAssetsResponse.Builderassets(AssetEntry... assets)The asset objects listed by the request.ListRevisionAssetsResponse.BuildernextToken(String nextToken)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 Detail
-
assets
ListRevisionAssetsResponse.Builder assets(Collection<AssetEntry> 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
ListRevisionAssetsResponse.Builder assets(AssetEntry... 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
ListRevisionAssetsResponse.Builder assets(Consumer<AssetEntry.Builder>... assets)
The asset objects listed by the request.
This is a convenience method that creates an instance of theAssetEntry.Builderavoiding the need to create one manually viaAssetEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#assets(List.) - 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:
#assets(java.util.Collection)
-
nextToken
ListRevisionAssetsResponse.Builder nextToken(String 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.
-
-