Interface ListAssetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListAssetsResponse.Builder,
,ListAssetsResponse> OutpostsResponse.Builder
,SdkBuilder<ListAssetsResponse.Builder,
,ListAssetsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListAssetsResponse
public static interface ListAssetsResponse.Builder
extends OutpostsResponse.Builder, SdkPojo, CopyableBuilder<ListAssetsResponse.Builder,ListAssetsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionassets
(Collection<AssetInfo> assets) Information about the hardware assets.assets
(Consumer<AssetInfo.Builder>... assets) Information about the hardware assets.Information about the hardware assets.Sets the value of the NextToken property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.outposts.model.OutpostsResponse.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
Information about the hardware assets.
- Parameters:
assets
- Information about the hardware assets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assets
Information about the hardware assets.
- Parameters:
assets
- Information about the hardware assets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assets
Information about the hardware assets.
This is a convenience method that creates an instance of theAssetInfo.Builder
avoiding the need to create one manually viaAssetInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassets(List<AssetInfo>)
.- Parameters:
assets
- a consumer that will call methods onAssetInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Sets the value of the NextToken property for this object.- Parameters:
nextToken
- The new value for the NextToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-