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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ImageInput.Builderformat(String format)The type of image in the result.ImageInput.Builderformat(ImageInputFormat format)The type of image in the result.default ImageInput.Buildersource(Consumer<ImageInputSource.Builder> source)The source of the image in the result.ImageInput.Buildersource(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 Detail
-
format
ImageInput.Builder format(String 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:
ImageInputFormat,ImageInputFormat
-
format
ImageInput.Builder format(ImageInputFormat 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:
ImageInputFormat,ImageInputFormat
-
source
ImageInput.Builder source(ImageInputSource 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
default ImageInput.Builder source(Consumer<ImageInputSource.Builder> 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:
source(ImageInputSource)
-
-