Interface ListAssetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAssetsResponse.Builder,,ListAssetsResponse> OutpostsResponse.Builder,SdkBuilder<ListAssetsResponse.Builder,,ListAssetsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAssetsResponse
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.services.outposts.model.OutpostsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaAssetInfo.builder().When the
Consumercompletes,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.
-