Package software.amazon.awssdk.core
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 SdkPojo
s without any fields (because it has no way to set them). It also does not support
SdkPojo
s that already have or are a builder (that builder should be used instead).
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SdkPojoBuilder
-
-
Method Details
-
sdkFields
-
equalsBySdkFields
Description copied from interface:SdkPojo
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.- Specified by:
equalsBySdkFields
in 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
-