Interface ImageInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ImageInput.Builder,,ImageInput> SdkBuilder<ImageInput.Builder,,ImageInput> SdkPojo
- Enclosing class:
ImageInput
@Mutable
@NotThreadSafe
public static interface ImageInput.Builder
extends SdkPojo, CopyableBuilder<ImageInput.Builder,ImageInput>
-
Method Summary
Modifier and TypeMethodDescriptionThe type of image in the result.format(ImageInputFormat format) The type of image in the result.default ImageInput.Buildersource(Consumer<ImageInputSource.Builder> source) The source of the image in the result.source(ImageInputSource source) The source of the image in the result.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, sdkFieldNameToField, sdkFields
-
Method Details
-
format
The type of image in the result.
- Parameters:
format- The type of image in the result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
format
The type of image in the result.
- Parameters:
format- The type of image in the result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
source
The source of the image in the result.
- Parameters:
source- The source of the image in the result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The source of the image in the result.
This is a convenience method that creates an instance of theImageInputSource.Builderavoiding the need to create one manually viaImageInputSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(ImageInputSource).- Parameters:
source- a consumer that will call methods onImageInputSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-