Package software.amazon.awssdk.core
Interface SdkPojo
-
- All Known Subinterfaces:
SdkServiceException.Builder
- All Known Implementing Classes:
SdkPojoBuilder
,SdkRequest
,SdkResponse
,SdkServiceException
,SdkServiceException.BuilderImpl
,VoidSdkResponse
,VoidSdkResponse.Builder
public interface SdkPojo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default boolean
equalsBySdkFields(Object other)
Indicates whether some other object is "equal to" this one by SDK fields.List<SdkField<?>>
sdkFields()
-
-
-
Method Detail
-
sdkFields
List<SdkField<?>> sdkFields()
- Returns:
- List of
SdkField
in this POJO. May be empty list but should never be null.
-
equalsBySdkFields
default boolean equalsBySdkFields(Object other)
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Parameters:
other
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
-