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