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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAssetsResponse.Builderassets(Collection<AssetInfo> assets)Information about the hardware assets.ListAssetsResponse.Builderassets(Consumer<AssetInfo.Builder>... assets)Information about the hardware assets.ListAssetsResponse.Builderassets(AssetInfo... assets)Information about the hardware assets.ListAssetsResponse.BuildernextToken(String nextToken)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 Detail
-
assets
ListAssetsResponse.Builder assets(Collection<AssetInfo> 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
ListAssetsResponse.Builder assets(AssetInfo... 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
ListAssetsResponse.Builder assets(Consumer<AssetInfo.Builder>... assets)
Information about the hardware assets.
This is a convenience method that creates an instance of theAssetInfo.Builderavoiding the need to create one manually viaAssetInfo.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 onAssetInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#assets(java.util.Collection)
-
nextToken
ListAssetsResponse.Builder nextToken(String 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.
-
-