Interface AreaOfInterest.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AreaOfInterest.Builder,
,AreaOfInterest> SdkBuilder<AreaOfInterest.Builder,
,AreaOfInterest> SdkPojo
- Enclosing class:
AreaOfInterest
@Mutable
@NotThreadSafe
public static interface AreaOfInterest.Builder
extends SdkPojo, CopyableBuilder<AreaOfInterest.Builder,AreaOfInterest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AreaOfInterest.Builder
areaOfInterestGeometry
(Consumer<AreaOfInterestGeometry.Builder> areaOfInterestGeometry) A GeoJSON object representing the geographic extent in the coordinate space.areaOfInterestGeometry
(AreaOfInterestGeometry areaOfInterestGeometry) A GeoJSON object representing the geographic extent in the coordinate space.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
-
areaOfInterestGeometry
A GeoJSON object representing the geographic extent in the coordinate space.
- Parameters:
areaOfInterestGeometry
- A GeoJSON object representing the geographic extent in the coordinate space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
areaOfInterestGeometry
default AreaOfInterest.Builder areaOfInterestGeometry(Consumer<AreaOfInterestGeometry.Builder> areaOfInterestGeometry) A GeoJSON object representing the geographic extent in the coordinate space.
This is a convenience method that creates an instance of theAreaOfInterestGeometry.Builder
avoiding the need to create one manually viaAreaOfInterestGeometry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toareaOfInterestGeometry(AreaOfInterestGeometry)
.- Parameters:
areaOfInterestGeometry
- a consumer that will call methods onAreaOfInterestGeometry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-