Class RecommendationTriggerData
- java.lang.Object
-
- software.amazon.awssdk.services.wisdom.model.RecommendationTriggerData
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RecommendationTriggerData.Builder,RecommendationTriggerData>
@Generated("software.amazon.awssdk:codegen") public final class RecommendationTriggerData extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RecommendationTriggerData.Builder,RecommendationTriggerData>
A union type containing information related to the trigger.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRecommendationTriggerData.Builderstatic classRecommendationTriggerData.Type
-
Method Summary
-
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
-
query
public final QueryRecommendationTriggerData query()
Data associated with the QUERY RecommendationTriggerType.
- Returns:
- Data associated with the QUERY RecommendationTriggerType.
-
toBuilder
public RecommendationTriggerData.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RecommendationTriggerData.Builder,RecommendationTriggerData>
-
builder
public static RecommendationTriggerData.Builder builder()
-
serializableBuilderClass
public static Class<? extends RecommendationTriggerData.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.
-
fromQuery
public static RecommendationTriggerData fromQuery(QueryRecommendationTriggerData query)
Create an instance of this class withquery()initialized to the given value.Data associated with the QUERY RecommendationTriggerType.
- Parameters:
query- Data associated with the QUERY RecommendationTriggerType.
-
fromQuery
public static RecommendationTriggerData fromQuery(Consumer<QueryRecommendationTriggerData.Builder> query)
Create an instance of this class withquery()initialized to the given value.Data associated with the QUERY RecommendationTriggerType.
- Parameters:
query- Data associated with the QUERY RecommendationTriggerType.
-
type
public RecommendationTriggerData.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 beRecommendationTriggerData.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 beRecommendationTriggerData.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-