Class SearchInventoryResultItem
- java.lang.Object
-
- software.amazon.awssdk.services.datazone.model.SearchInventoryResultItem
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SearchInventoryResultItem.Builder,SearchInventoryResultItem>
@Generated("software.amazon.awssdk:codegen") public final class SearchInventoryResultItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SearchInventoryResultItem.Builder,SearchInventoryResultItem>
The details of the search results.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSearchInventoryResultItem.Builderstatic classSearchInventoryResultItem.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AssetItemassetItem()The asset item included in the search results.static SearchInventoryResultItem.Builderbuilder()DataProductResultItemdataProductItem()The data product.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static SearchInventoryResultItemfromAssetItem(Consumer<AssetItem.Builder> assetItem)Create an instance of this class withassetItem()initialized to the given value.static SearchInventoryResultItemfromAssetItem(AssetItem assetItem)Create an instance of this class withassetItem()initialized to the given value.static SearchInventoryResultItemfromDataProductItem(Consumer<DataProductResultItem.Builder> dataProductItem)Create an instance of this class withdataProductItem()initialized to the given value.static SearchInventoryResultItemfromDataProductItem(DataProductResultItem dataProductItem)Create an instance of this class withdataProductItem()initialized to the given value.static SearchInventoryResultItemfromGlossaryItem(Consumer<GlossaryItem.Builder> glossaryItem)Create an instance of this class withglossaryItem()initialized to the given value.static SearchInventoryResultItemfromGlossaryItem(GlossaryItem glossaryItem)Create an instance of this class withglossaryItem()initialized to the given value.static SearchInventoryResultItemfromGlossaryTermItem(Consumer<GlossaryTermItem.Builder> glossaryTermItem)Create an instance of this class withglossaryTermItem()initialized to the given value.static SearchInventoryResultItemfromGlossaryTermItem(GlossaryTermItem glossaryTermItem)Create an instance of this class withglossaryTermItem()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)GlossaryItemglossaryItem()The glossary item included in the search results.GlossaryTermItemglossaryTermItem()The glossary term item included in the search results.inthashCode()List<SdkField<?>>sdkFields()static Class<? extends SearchInventoryResultItem.Builder>serializableBuilderClass()SearchInventoryResultItem.BuildertoBuilder()StringtoString()Returns a string representation of this object.SearchInventoryResultItem.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
-
assetItem
public final AssetItem assetItem()
The asset item included in the search results.
- Returns:
- The asset item included in the search results.
-
dataProductItem
public final DataProductResultItem dataProductItem()
The data product.
- Returns:
- The data product.
-
glossaryItem
public final GlossaryItem glossaryItem()
The glossary item included in the search results.
- Returns:
- The glossary item included in the search results.
-
glossaryTermItem
public final GlossaryTermItem glossaryTermItem()
The glossary term item included in the search results.
- Returns:
- The glossary term item included in the search results.
-
toBuilder
public SearchInventoryResultItem.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SearchInventoryResultItem.Builder,SearchInventoryResultItem>
-
builder
public static SearchInventoryResultItem.Builder builder()
-
serializableBuilderClass
public static Class<? extends SearchInventoryResultItem.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.
-
fromAssetItem
public static SearchInventoryResultItem fromAssetItem(AssetItem assetItem)
Create an instance of this class withassetItem()initialized to the given value.The asset item included in the search results.
- Parameters:
assetItem- The asset item included in the search results.
-
fromAssetItem
public static SearchInventoryResultItem fromAssetItem(Consumer<AssetItem.Builder> assetItem)
Create an instance of this class withassetItem()initialized to the given value.The asset item included in the search results.
- Parameters:
assetItem- The asset item included in the search results.
-
fromDataProductItem
public static SearchInventoryResultItem fromDataProductItem(DataProductResultItem dataProductItem)
Create an instance of this class withdataProductItem()initialized to the given value.The data product.
- Parameters:
dataProductItem- The data product.
-
fromDataProductItem
public static SearchInventoryResultItem fromDataProductItem(Consumer<DataProductResultItem.Builder> dataProductItem)
Create an instance of this class withdataProductItem()initialized to the given value.The data product.
- Parameters:
dataProductItem- The data product.
-
fromGlossaryItem
public static SearchInventoryResultItem fromGlossaryItem(GlossaryItem glossaryItem)
Create an instance of this class withglossaryItem()initialized to the given value.The glossary item included in the search results.
- Parameters:
glossaryItem- The glossary item included in the search results.
-
fromGlossaryItem
public static SearchInventoryResultItem fromGlossaryItem(Consumer<GlossaryItem.Builder> glossaryItem)
Create an instance of this class withglossaryItem()initialized to the given value.The glossary item included in the search results.
- Parameters:
glossaryItem- The glossary item included in the search results.
-
fromGlossaryTermItem
public static SearchInventoryResultItem fromGlossaryTermItem(GlossaryTermItem glossaryTermItem)
Create an instance of this class withglossaryTermItem()initialized to the given value.The glossary term item included in the search results.
- Parameters:
glossaryTermItem- The glossary term item included in the search results.
-
fromGlossaryTermItem
public static SearchInventoryResultItem fromGlossaryTermItem(Consumer<GlossaryTermItem.Builder> glossaryTermItem)
Create an instance of this class withglossaryTermItem()initialized to the given value.The glossary term item included in the search results.
- Parameters:
glossaryTermItem- The glossary term item included in the search results.
-
type
public SearchInventoryResultItem.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 beSearchInventoryResultItem.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 beSearchInventoryResultItem.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-