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
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanequalsBySdkFields(Object other) Indicates whether some other object is "equal to" this one by SDK fields.
-
Method Details
-
sdkFields
- Returns:
- List of
SdkFieldin this POJO. May be empty list but should never be null.
-
equalsBySdkFields
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.
-
sdkFieldNameToField
- Returns:
- The mapping between the field name and its corresponding field.
-