Class FormInputCardInput
- java.lang.Object
-
- software.amazon.awssdk.services.qapps.model.FormInputCardInput
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FormInputCardInput.Builder,FormInputCardInput>
@Generated("software.amazon.awssdk:codegen") public final class FormInputCardInput extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FormInputCardInput.Builder,FormInputCardInput>
Represents a form input card for an Amazon Q App.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFormInputCardInput.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FormInputCardInput.Builderbuilder()InputCardComputeModecomputeMode()The compute mode of the form input card.StringcomputeModeAsString()The compute mode of the form input card.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The unique identifier of the form input card.FormInputCardMetadatametadata()The metadata that defines the form input card data.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends FormInputCardInput.Builder>serializableBuilderClass()Stringtitle()The title or label of the form input card.FormInputCardInput.BuildertoBuilder()StringtoString()Returns a string representation of this object.CardTypetype()The type of the card.StringtypeAsString()The type of the card.-
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
-
title
public final String title()
The title or label of the form input card.
- Returns:
- The title or label of the form input card.
-
id
public final String id()
The unique identifier of the form input card.
- Returns:
- The unique identifier of the form input card.
-
type
public final CardType type()
The type of the card.
If the service returns an enum value that is not available in the current SDK version,
typewill returnCardType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the card.
- See Also:
CardType
-
typeAsString
public final String typeAsString()
The type of the card.
If the service returns an enum value that is not available in the current SDK version,
typewill returnCardType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the card.
- See Also:
CardType
-
metadata
public final FormInputCardMetadata metadata()
The metadata that defines the form input card data.
- Returns:
- The metadata that defines the form input card data.
-
computeMode
public final InputCardComputeMode computeMode()
The compute mode of the form input card. This property determines whether individual participants of a data collection session can submit multiple response or one response. A compute mode of
appendshall allow participants to submit the same form multiple times with different values. A compute mode ofreplacecode> shall overwrite the current value for each participant.If the service returns an enum value that is not available in the current SDK version,
computeModewill returnInputCardComputeMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcomputeModeAsString().- Returns:
- The compute mode of the form input card. This property determines whether individual participants of a
data collection session can submit multiple response or one response. A compute mode of
appendshall allow participants to submit the same form multiple times with different values. A compute mode ofreplacecode> shall overwrite the current value for each participant. - See Also:
InputCardComputeMode
-
computeModeAsString
public final String computeModeAsString()
The compute mode of the form input card. This property determines whether individual participants of a data collection session can submit multiple response or one response. A compute mode of
appendshall allow participants to submit the same form multiple times with different values. A compute mode ofreplacecode> shall overwrite the current value for each participant.If the service returns an enum value that is not available in the current SDK version,
computeModewill returnInputCardComputeMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcomputeModeAsString().- Returns:
- The compute mode of the form input card. This property determines whether individual participants of a
data collection session can submit multiple response or one response. A compute mode of
appendshall allow participants to submit the same form multiple times with different values. A compute mode ofreplacecode> shall overwrite the current value for each participant. - See Also:
InputCardComputeMode
-
toBuilder
public FormInputCardInput.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FormInputCardInput.Builder,FormInputCardInput>
-
builder
public static FormInputCardInput.Builder builder()
-
serializableBuilderClass
public static Class<? extends FormInputCardInput.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-