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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListCompatibleImagesResponse.BuildercompatibleImages(Collection<CompatibleImage> compatibleImages)A JSON-formatted object that describes a compatible AMI, including the ID and name for a Snow device AMI.ListCompatibleImagesResponse.BuildercompatibleImages(Consumer<CompatibleImage.Builder>... compatibleImages)A JSON-formatted object that describes a compatible AMI, including the ID and name for a Snow device AMI.ListCompatibleImagesResponse.BuildercompatibleImages(CompatibleImage... compatibleImages)A JSON-formatted object that describes a compatible AMI, including the ID and name for a Snow device AMI.ListCompatibleImagesResponse.BuildernextToken(String nextToken)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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.snowball.model.SnowballResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
compatibleImages
ListCompatibleImagesResponse.Builder compatibleImages(Collection<CompatibleImage> 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(CompatibleImage... 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 to#compatibleImages(List.) - 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:
#compatibleImages(java.util.Collection)
-
nextToken
ListCompatibleImagesResponse.Builder nextToken(String 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.
-
-