Interface ImageSource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ImageSource.Builder,ImageSource>,SdkBuilder<ImageSource.Builder,ImageSource>,SdkPojo
- Enclosing class:
- ImageSource
public static interface ImageSource.Builder extends SdkPojo, CopyableBuilder<ImageSource.Builder,ImageSource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ImageSource.Builderbytes(SdkBytes bytes)The raw image bytes for the image.default ImageSource.Builders3Location(Consumer<S3Location.Builder> s3Location)The location of an image object in an Amazon S3 bucket.ImageSource.Builders3Location(S3Location s3Location)The location of an image object in an Amazon S3 bucket.-
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
-
bytes
ImageSource.Builder bytes(SdkBytes bytes)
The raw image bytes for the image. If you use an AWS SDK, you don't need to encode the image bytes in base64.
- Parameters:
bytes- The raw image bytes for the image. If you use an AWS SDK, you don't need to encode the image bytes in base64.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Location
ImageSource.Builder s3Location(S3Location s3Location)
The location of an image object in an Amazon S3 bucket. To see which models support S3 uploads, see Supported models and features for Converse.
- Parameters:
s3Location- The location of an image object in an Amazon S3 bucket. To see which models support S3 uploads, see Supported models and features for Converse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Location
default ImageSource.Builder s3Location(Consumer<S3Location.Builder> s3Location)
The location of an image object in an Amazon S3 bucket. To see which models support S3 uploads, see Supported models and features for Converse.
This is a convenience method that creates an instance of theS3Location.Builderavoiding the need to create one manually viaS3Location.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Location(S3Location).- Parameters:
s3Location- a consumer that will call methods onS3Location.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
s3Location(S3Location)
-
-