Class SdkPojoBuilder<T extends SdkPojo>
java.lang.Object
software.amazon.awssdk.core.SdkPojoBuilder<T>
A builder for an immutable
SdkPojo with no fields.
This is useful for SdkPojo implementations that don't have their own builders, but need to be passed to something
that assumes they already have a builder. For example, marshallers expect all SdkPojo implementations to have a
builder. In the cases that they do not, this can be used as their builder.
This currently only supports SdkPojos without any fields (because it has no way to set them). It also does not support
SdkPojos that already have or are a builder (that builder should be used instead).
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SdkPojoBuilder
-
-
Method Details
-
sdkFields
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates 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.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
other- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
build
-