Class EntityTypeSort
- java.lang.Object
-
- software.amazon.awssdk.services.marketplacecatalog.model.EntityTypeSort
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EntityTypeSort.Builder,EntityTypeSort>
@Generated("software.amazon.awssdk:codegen") public final class EntityTypeSort extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EntityTypeSort.Builder,EntityTypeSort>
Object containing all the sort fields per entity type.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEntityTypeSort.Builderstatic classEntityTypeSort.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AmiProductSortamiProductSort()A sort for AMI products.static EntityTypeSort.Builderbuilder()ContainerProductSortcontainerProductSort()A sort for container products.DataProductSortdataProductSort()A sort for data products.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static EntityTypeSortfromAmiProductSort(Consumer<AmiProductSort.Builder> amiProductSort)Create an instance of this class withamiProductSort()initialized to the given value.static EntityTypeSortfromAmiProductSort(AmiProductSort amiProductSort)Create an instance of this class withamiProductSort()initialized to the given value.static EntityTypeSortfromContainerProductSort(Consumer<ContainerProductSort.Builder> containerProductSort)Create an instance of this class withcontainerProductSort()initialized to the given value.static EntityTypeSortfromContainerProductSort(ContainerProductSort containerProductSort)Create an instance of this class withcontainerProductSort()initialized to the given value.static EntityTypeSortfromDataProductSort(Consumer<DataProductSort.Builder> dataProductSort)Create an instance of this class withdataProductSort()initialized to the given value.static EntityTypeSortfromDataProductSort(DataProductSort dataProductSort)Create an instance of this class withdataProductSort()initialized to the given value.static EntityTypeSortfromOfferSort(Consumer<OfferSort.Builder> offerSort)Create an instance of this class withofferSort()initialized to the given value.static EntityTypeSortfromOfferSort(OfferSort offerSort)Create an instance of this class withofferSort()initialized to the given value.static EntityTypeSortfromResaleAuthorizationSort(Consumer<ResaleAuthorizationSort.Builder> resaleAuthorizationSort)Create an instance of this class withresaleAuthorizationSort()initialized to the given value.static EntityTypeSortfromResaleAuthorizationSort(ResaleAuthorizationSort resaleAuthorizationSort)Create an instance of this class withresaleAuthorizationSort()initialized to the given value.static EntityTypeSortfromSaaSProductSort(Consumer<SaaSProductSort.Builder> saaSProductSort)Create an instance of this class withsaaSProductSort()initialized to the given value.static EntityTypeSortfromSaaSProductSort(SaaSProductSort saaSProductSort)Create an instance of this class withsaaSProductSort()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()OfferSortofferSort()A sort for offers.ResaleAuthorizationSortresaleAuthorizationSort()A sort for Resale Authorizations.SaaSProductSortsaaSProductSort()A sort for SaaS products.List<SdkField<?>>sdkFields()static Class<? extends EntityTypeSort.Builder>serializableBuilderClass()EntityTypeSort.BuildertoBuilder()StringtoString()Returns a string representation of this object.EntityTypeSort.Typetype()Retrieve an enum value representing which member of this object is populated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
dataProductSort
public final DataProductSort dataProductSort()
A sort for data products.
- Returns:
- A sort for data products.
-
saaSProductSort
public final SaaSProductSort saaSProductSort()
A sort for SaaS products.
- Returns:
- A sort for SaaS products.
-
amiProductSort
public final AmiProductSort amiProductSort()
A sort for AMI products.
- Returns:
- A sort for AMI products.
-
offerSort
public final OfferSort offerSort()
A sort for offers.
- Returns:
- A sort for offers.
-
containerProductSort
public final ContainerProductSort containerProductSort()
A sort for container products.
- Returns:
- A sort for container products.
-
resaleAuthorizationSort
public final ResaleAuthorizationSort resaleAuthorizationSort()
A sort for Resale Authorizations.
- Returns:
- A sort for Resale Authorizations.
-
toBuilder
public EntityTypeSort.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EntityTypeSort.Builder,EntityTypeSort>
-
builder
public static EntityTypeSort.Builder builder()
-
serializableBuilderClass
public static Class<? extends EntityTypeSort.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
fromDataProductSort
public static EntityTypeSort fromDataProductSort(DataProductSort dataProductSort)
Create an instance of this class withdataProductSort()initialized to the given value.A sort for data products.
- Parameters:
dataProductSort- A sort for data products.
-
fromDataProductSort
public static EntityTypeSort fromDataProductSort(Consumer<DataProductSort.Builder> dataProductSort)
Create an instance of this class withdataProductSort()initialized to the given value.A sort for data products.
- Parameters:
dataProductSort- A sort for data products.
-
fromSaaSProductSort
public static EntityTypeSort fromSaaSProductSort(SaaSProductSort saaSProductSort)
Create an instance of this class withsaaSProductSort()initialized to the given value.A sort for SaaS products.
- Parameters:
saaSProductSort- A sort for SaaS products.
-
fromSaaSProductSort
public static EntityTypeSort fromSaaSProductSort(Consumer<SaaSProductSort.Builder> saaSProductSort)
Create an instance of this class withsaaSProductSort()initialized to the given value.A sort for SaaS products.
- Parameters:
saaSProductSort- A sort for SaaS products.
-
fromAmiProductSort
public static EntityTypeSort fromAmiProductSort(AmiProductSort amiProductSort)
Create an instance of this class withamiProductSort()initialized to the given value.A sort for AMI products.
- Parameters:
amiProductSort- A sort for AMI products.
-
fromAmiProductSort
public static EntityTypeSort fromAmiProductSort(Consumer<AmiProductSort.Builder> amiProductSort)
Create an instance of this class withamiProductSort()initialized to the given value.A sort for AMI products.
- Parameters:
amiProductSort- A sort for AMI products.
-
fromOfferSort
public static EntityTypeSort fromOfferSort(OfferSort offerSort)
Create an instance of this class withofferSort()initialized to the given value.A sort for offers.
- Parameters:
offerSort- A sort for offers.
-
fromOfferSort
public static EntityTypeSort fromOfferSort(Consumer<OfferSort.Builder> offerSort)
Create an instance of this class withofferSort()initialized to the given value.A sort for offers.
- Parameters:
offerSort- A sort for offers.
-
fromContainerProductSort
public static EntityTypeSort fromContainerProductSort(ContainerProductSort containerProductSort)
Create an instance of this class withcontainerProductSort()initialized to the given value.A sort for container products.
- Parameters:
containerProductSort- A sort for container products.
-
fromContainerProductSort
public static EntityTypeSort fromContainerProductSort(Consumer<ContainerProductSort.Builder> containerProductSort)
Create an instance of this class withcontainerProductSort()initialized to the given value.A sort for container products.
- Parameters:
containerProductSort- A sort for container products.
-
fromResaleAuthorizationSort
public static EntityTypeSort fromResaleAuthorizationSort(ResaleAuthorizationSort resaleAuthorizationSort)
Create an instance of this class withresaleAuthorizationSort()initialized to the given value.A sort for Resale Authorizations.
- Parameters:
resaleAuthorizationSort- A sort for Resale Authorizations.
-
fromResaleAuthorizationSort
public static EntityTypeSort fromResaleAuthorizationSort(Consumer<ResaleAuthorizationSort.Builder> resaleAuthorizationSort)
Create an instance of this class withresaleAuthorizationSort()initialized to the given value.A sort for Resale Authorizations.
- Parameters:
resaleAuthorizationSort- A sort for Resale Authorizations.
-
type
public EntityTypeSort.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beEntityTypeSort.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beEntityTypeSort.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-