@Generated(value="software.amazon.awssdk:codegen") public final class SearchInventoryResultItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SearchInventoryResultItem.Builder,SearchInventoryResultItem>
The details of the search results.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SearchInventoryResultItem.Builder |
static class |
SearchInventoryResultItem.Type |
| Modifier and Type | Method and Description |
|---|---|
AssetItem |
assetItem()
The asset item included in the search results.
|
static SearchInventoryResultItem.Builder |
builder() |
DataProductSummary |
dataProductItem()
The data product item included in the search results.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static SearchInventoryResultItem |
fromAssetItem(AssetItem assetItem)
Create an instance of this class with
assetItem() initialized to the given value. |
static SearchInventoryResultItem |
fromAssetItem(Consumer<AssetItem.Builder> assetItem)
Create an instance of this class with
assetItem() initialized to the given value. |
static SearchInventoryResultItem |
fromDataProductItem(Consumer<DataProductSummary.Builder> dataProductItem)
Create an instance of this class with
dataProductItem() initialized to the given value. |
static SearchInventoryResultItem |
fromDataProductItem(DataProductSummary dataProductItem)
Create an instance of this class with
dataProductItem() initialized to the given value. |
static SearchInventoryResultItem |
fromGlossaryItem(Consumer<GlossaryItem.Builder> glossaryItem)
Create an instance of this class with
glossaryItem() initialized to the given value. |
static SearchInventoryResultItem |
fromGlossaryItem(GlossaryItem glossaryItem)
Create an instance of this class with
glossaryItem() initialized to the given value. |
static SearchInventoryResultItem |
fromGlossaryTermItem(Consumer<GlossaryTermItem.Builder> glossaryTermItem)
Create an instance of this class with
glossaryTermItem() initialized to the given value. |
static SearchInventoryResultItem |
fromGlossaryTermItem(GlossaryTermItem glossaryTermItem)
Create an instance of this class with
glossaryTermItem() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
GlossaryItem |
glossaryItem()
The glossary item included in the search results.
|
GlossaryTermItem |
glossaryTermItem()
The glossary term item included in the search results.
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends SearchInventoryResultItem.Builder> |
serializableBuilderClass() |
SearchInventoryResultItem.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
SearchInventoryResultItem.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final AssetItem assetItem()
The asset item included in the search results.
public final DataProductSummary dataProductItem()
The data product item included in the search results.
public final GlossaryItem glossaryItem()
The glossary item included in the search results.
public final GlossaryTermItem glossaryTermItem()
The glossary term item included in the search results.
public SearchInventoryResultItem.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SearchInventoryResultItem.Builder,SearchInventoryResultItem>public static SearchInventoryResultItem.Builder builder()
public static Class<? extends SearchInventoryResultItem.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static SearchInventoryResultItem fromAssetItem(AssetItem assetItem)
assetItem() initialized to the given value.
The asset item included in the search results.
assetItem - The asset item included in the search results.public static SearchInventoryResultItem fromAssetItem(Consumer<AssetItem.Builder> assetItem)
assetItem() initialized to the given value.
The asset item included in the search results.
assetItem - The asset item included in the search results.public static SearchInventoryResultItem fromDataProductItem(DataProductSummary dataProductItem)
dataProductItem() initialized to the given value.
The data product item included in the search results.
dataProductItem - The data product item included in the search results.public static SearchInventoryResultItem fromDataProductItem(Consumer<DataProductSummary.Builder> dataProductItem)
dataProductItem() initialized to the given value.
The data product item included in the search results.
dataProductItem - The data product item included in the search results.public static SearchInventoryResultItem fromGlossaryItem(GlossaryItem glossaryItem)
glossaryItem() initialized to the given value.
The glossary item included in the search results.
glossaryItem - The glossary item included in the search results.public static SearchInventoryResultItem fromGlossaryItem(Consumer<GlossaryItem.Builder> glossaryItem)
glossaryItem() initialized to the given value.
The glossary item included in the search results.
glossaryItem - The glossary item included in the search results.public static SearchInventoryResultItem fromGlossaryTermItem(GlossaryTermItem glossaryTermItem)
glossaryTermItem() initialized to the given value.
The glossary term item included in the search results.
glossaryTermItem - The glossary term item included in the search results.public static SearchInventoryResultItem fromGlossaryTermItem(Consumer<GlossaryTermItem.Builder> glossaryTermItem)
glossaryTermItem() initialized to the given value.
The glossary term item included in the search results.
glossaryTermItem - The glossary term item included in the search results.public SearchInventoryResultItem.Type type()
SearchInventoryResultItem.Type.UNKNOWN_TO_SDK_VERSION if 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 be SearchInventoryResultItem.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.