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.Builder
source
(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
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
-
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.Builder
avoiding the need to create one manually viaImageInputSource.builder()
.When the
Consumer
completes,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:
-