Interface ImageStaticFile.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ImageStaticFile.Builder,ImageStaticFile>
,SdkBuilder<ImageStaticFile.Builder,ImageStaticFile>
,SdkPojo
- Enclosing class:
- ImageStaticFile
public static interface ImageStaticFile.Builder extends SdkPojo, CopyableBuilder<ImageStaticFile.Builder,ImageStaticFile>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ImageStaticFile.Builder
source(Consumer<StaticFileSource.Builder> source)
The source of the image static file.ImageStaticFile.Builder
source(StaticFileSource source)
The source of the image static file.ImageStaticFile.Builder
staticFileId(String staticFileId)
The ID of the static file that contains an image.-
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
-
staticFileId
ImageStaticFile.Builder staticFileId(String staticFileId)
The ID of the static file that contains an image.
- Parameters:
staticFileId
- The ID of the static file that contains an image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
ImageStaticFile.Builder source(StaticFileSource source)
The source of the image static file.
- Parameters:
source
- The source of the image static file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
default ImageStaticFile.Builder source(Consumer<StaticFileSource.Builder> source)
The source of the image static file.
This is a convenience method that creates an instance of theStaticFileSource.Builder
avoiding the need to create one manually viaStaticFileSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosource(StaticFileSource)
.- Parameters:
source
- a consumer that will call methods onStaticFileSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
source(StaticFileSource)
-
-