Class SearchResultItem
- java.lang.Object
-
- software.amazon.awssdk.services.datazone.model.SearchResultItem
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SearchResultItem.Builder,SearchResultItem>
@Generated("software.amazon.awssdk:codegen") public final class SearchResultItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SearchResultItem.Builder,SearchResultItem>
The details of the results of the
SearchListingsaction.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSearchResultItem.Builderstatic classSearchResultItem.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AssetListingItemassetListing()The asset listing included in the results of theSearchListingsaction.static SearchResultItem.Builderbuilder()DataProductListingItemdataProductListing()The data product listing.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static SearchResultItemfromAssetListing(Consumer<AssetListingItem.Builder> assetListing)Create an instance of this class withassetListing()initialized to the given value.static SearchResultItemfromAssetListing(AssetListingItem assetListing)Create an instance of this class withassetListing()initialized to the given value.static SearchResultItemfromDataProductListing(Consumer<DataProductListingItem.Builder> dataProductListing)Create an instance of this class withdataProductListing()initialized to the given value.static SearchResultItemfromDataProductListing(DataProductListingItem dataProductListing)Create an instance of this class withdataProductListing()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends SearchResultItem.Builder>serializableBuilderClass()SearchResultItem.BuildertoBuilder()StringtoString()Returns a string representation of this object.SearchResultItem.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
-
assetListing
public final AssetListingItem assetListing()
The asset listing included in the results of the
SearchListingsaction.- Returns:
- The asset listing included in the results of the
SearchListingsaction.
-
dataProductListing
public final DataProductListingItem dataProductListing()
The data product listing.
- Returns:
- The data product listing.
-
toBuilder
public SearchResultItem.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SearchResultItem.Builder,SearchResultItem>
-
builder
public static SearchResultItem.Builder builder()
-
serializableBuilderClass
public static Class<? extends SearchResultItem.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.
-
fromAssetListing
public static SearchResultItem fromAssetListing(AssetListingItem assetListing)
Create an instance of this class withassetListing()initialized to the given value.The asset listing included in the results of the
SearchListingsaction.- Parameters:
assetListing- The asset listing included in the results of theSearchListingsaction.
-
fromAssetListing
public static SearchResultItem fromAssetListing(Consumer<AssetListingItem.Builder> assetListing)
Create an instance of this class withassetListing()initialized to the given value.The asset listing included in the results of the
SearchListingsaction.- Parameters:
assetListing- The asset listing included in the results of theSearchListingsaction.
-
fromDataProductListing
public static SearchResultItem fromDataProductListing(DataProductListingItem dataProductListing)
Create an instance of this class withdataProductListing()initialized to the given value.The data product listing.
- Parameters:
dataProductListing- The data product listing.
-
fromDataProductListing
public static SearchResultItem fromDataProductListing(Consumer<DataProductListingItem.Builder> dataProductListing)
Create an instance of this class withdataProductListing()initialized to the given value.The data product listing.
- Parameters:
dataProductListing- The data product listing.
-
type
public SearchResultItem.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 beSearchResultItem.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 beSearchResultItem.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-