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
@SdkProtectedApi public interface SdkPojo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default booleanequalsBySdkFields(Object other)Indicates whether some other object is "equal to" this one by SDK fields.default Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()
-
-
-
Method Detail
-
sdkFields
List<SdkField<?>> sdkFields()
- Returns:
- List of
SdkFieldin 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 anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare 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.
-
-