Interface SpatialStaticFile.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SpatialStaticFile.Builder,SpatialStaticFile>,SdkBuilder<SpatialStaticFile.Builder,SpatialStaticFile>,SdkPojo
- Enclosing class:
- SpatialStaticFile
@Mutable @NotThreadSafe public static interface SpatialStaticFile.Builder extends SdkPojo, CopyableBuilder<SpatialStaticFile.Builder,SpatialStaticFile>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SpatialStaticFile.Buildersource(Consumer<StaticFileSource.Builder> source)The source of the spatial static file.SpatialStaticFile.Buildersource(StaticFileSource source)The source of the spatial static file.SpatialStaticFile.BuilderstaticFileId(String staticFileId)The ID of the spatial static file.-
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
SpatialStaticFile.Builder staticFileId(String staticFileId)
The ID of the spatial static file.
- Parameters:
staticFileId- The ID of the spatial static file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
SpatialStaticFile.Builder source(StaticFileSource source)
The source of the spatial static file.
- Parameters:
source- The source of the spatial static file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
default SpatialStaticFile.Builder source(Consumer<StaticFileSource.Builder> source)
The source of the spatial static file.
This is a convenience method that creates an instance of theStaticFileSource.Builderavoiding the need to create one manually viaStaticFileSource.builder().When the
Consumercompletes,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)
-
-