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