Class AreaOfInterestGeometry
- java.lang.Object
-
- software.amazon.awssdk.services.sagemakergeospatial.model.AreaOfInterestGeometry
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AreaOfInterestGeometry.Builder,AreaOfInterestGeometry>
@Generated("software.amazon.awssdk:codegen") public final class AreaOfInterestGeometry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AreaOfInterestGeometry.Builder,AreaOfInterestGeometry>
A GeoJSON object representing the geographic extent in the coordinate space.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAreaOfInterestGeometry.Builderstatic classAreaOfInterestGeometry.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AreaOfInterestGeometry.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static AreaOfInterestGeometryfromMultiPolygonGeometry(Consumer<MultiPolygonGeometryInput.Builder> multiPolygonGeometry)Create an instance of this class withmultiPolygonGeometry()initialized to the given value.static AreaOfInterestGeometryfromMultiPolygonGeometry(MultiPolygonGeometryInput multiPolygonGeometry)Create an instance of this class withmultiPolygonGeometry()initialized to the given value.static AreaOfInterestGeometryfromPolygonGeometry(Consumer<PolygonGeometryInput.Builder> polygonGeometry)Create an instance of this class withpolygonGeometry()initialized to the given value.static AreaOfInterestGeometryfromPolygonGeometry(PolygonGeometryInput polygonGeometry)Create an instance of this class withpolygonGeometry()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()MultiPolygonGeometryInputmultiPolygonGeometry()The structure representing the MultiPolygon Geometry.PolygonGeometryInputpolygonGeometry()The structure representing Polygon Geometry.List<SdkField<?>>sdkFields()static Class<? extends AreaOfInterestGeometry.Builder>serializableBuilderClass()AreaOfInterestGeometry.BuildertoBuilder()StringtoString()Returns a string representation of this object.AreaOfInterestGeometry.Typetype()Retrieve an enum value representing which member of this object is populated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
multiPolygonGeometry
public final MultiPolygonGeometryInput multiPolygonGeometry()
The structure representing the MultiPolygon Geometry.
- Returns:
- The structure representing the MultiPolygon Geometry.
-
polygonGeometry
public final PolygonGeometryInput polygonGeometry()
The structure representing Polygon Geometry.
- Returns:
- The structure representing Polygon Geometry.
-
toBuilder
public AreaOfInterestGeometry.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AreaOfInterestGeometry.Builder,AreaOfInterestGeometry>
-
builder
public static AreaOfInterestGeometry.Builder builder()
-
serializableBuilderClass
public static Class<? extends AreaOfInterestGeometry.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
fromMultiPolygonGeometry
public static AreaOfInterestGeometry fromMultiPolygonGeometry(MultiPolygonGeometryInput multiPolygonGeometry)
Create an instance of this class withmultiPolygonGeometry()initialized to the given value.The structure representing the MultiPolygon Geometry.
- Parameters:
multiPolygonGeometry- The structure representing the MultiPolygon Geometry.
-
fromMultiPolygonGeometry
public static AreaOfInterestGeometry fromMultiPolygonGeometry(Consumer<MultiPolygonGeometryInput.Builder> multiPolygonGeometry)
Create an instance of this class withmultiPolygonGeometry()initialized to the given value.The structure representing the MultiPolygon Geometry.
- Parameters:
multiPolygonGeometry- The structure representing the MultiPolygon Geometry.
-
fromPolygonGeometry
public static AreaOfInterestGeometry fromPolygonGeometry(PolygonGeometryInput polygonGeometry)
Create an instance of this class withpolygonGeometry()initialized to the given value.The structure representing Polygon Geometry.
- Parameters:
polygonGeometry- The structure representing Polygon Geometry.
-
fromPolygonGeometry
public static AreaOfInterestGeometry fromPolygonGeometry(Consumer<PolygonGeometryInput.Builder> polygonGeometry)
Create an instance of this class withpolygonGeometry()initialized to the given value.The structure representing Polygon Geometry.
- Parameters:
polygonGeometry- The structure representing Polygon Geometry.
-
type
public AreaOfInterestGeometry.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beAreaOfInterestGeometry.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beAreaOfInterestGeometry.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-