Interface ListCompatibleImagesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListCompatibleImagesResponse.Builder,,ListCompatibleImagesResponse> SdkBuilder<ListCompatibleImagesResponse.Builder,,ListCompatibleImagesResponse> SdkPojo,SdkResponse.Builder,SnowballResponse.Builder
- Enclosing class:
ListCompatibleImagesResponse
public static interface ListCompatibleImagesResponse.Builder
extends SnowballResponse.Builder, SdkPojo, CopyableBuilder<ListCompatibleImagesResponse.Builder,ListCompatibleImagesResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncompatibleImages(Collection<CompatibleImage> compatibleImages) A JSON-formatted object that describes a compatible AMI, including the ID and name for a Snow device AMI.compatibleImages(Consumer<CompatibleImage.Builder>... compatibleImages) A JSON-formatted object that describes a compatible AMI, including the ID and name for a Snow device AMI.compatibleImages(CompatibleImage... compatibleImages) A JSON-formatted object that describes a compatible AMI, including the ID and name for a Snow device AMI.Because HTTP requests are stateless, this is the starting point for your next list of returned images.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.snowball.model.SnowballResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
compatibleImages
A JSON-formatted object that describes a compatible AMI, including the ID and name for a Snow device AMI.
- Parameters:
compatibleImages- A JSON-formatted object that describes a compatible AMI, including the ID and name for a Snow device AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compatibleImages
A JSON-formatted object that describes a compatible AMI, including the ID and name for a Snow device AMI.
- Parameters:
compatibleImages- A JSON-formatted object that describes a compatible AMI, including the ID and name for a Snow device AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compatibleImages
ListCompatibleImagesResponse.Builder compatibleImages(Consumer<CompatibleImage.Builder>... compatibleImages) A JSON-formatted object that describes a compatible AMI, including the ID and name for a Snow device AMI.
This is a convenience method that creates an instance of theCompatibleImage.Builderavoiding the need to create one manually viaCompatibleImage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocompatibleImages(List<CompatibleImage>).- Parameters:
compatibleImages- a consumer that will call methods onCompatibleImage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Because HTTP requests are stateless, this is the starting point for your next list of returned images.
- Parameters:
nextToken- Because HTTP requests are stateless, this is the starting point for your next list of returned images.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-