/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.amplifyuibuilder.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Describes the configuration for an input field on a form. Use FormInputValueProperty
to specify the
* values to render or bind by default.
*
* The value to assign to the input field. *
*/ private String value; /** ** The information to bind fields to data at runtime. *
*/ private FormInputValuePropertyBindingProperties bindingProperties; /** ** A list of form properties to concatenate to create the value to assign to this field property. *
*/ private java.util.List* The value to assign to the input field. *
* * @param value * The value to assign to the input field. */ public void setValue(String value) { this.value = value; } /** ** The value to assign to the input field. *
* * @return The value to assign to the input field. */ public String getValue() { return this.value; } /** ** The value to assign to the input field. *
* * @param value * The value to assign to the input field. * @return Returns a reference to this object so that method calls can be chained together. */ public FormInputValueProperty withValue(String value) { setValue(value); return this; } /** ** The information to bind fields to data at runtime. *
* * @param bindingProperties * The information to bind fields to data at runtime. */ public void setBindingProperties(FormInputValuePropertyBindingProperties bindingProperties) { this.bindingProperties = bindingProperties; } /** ** The information to bind fields to data at runtime. *
* * @return The information to bind fields to data at runtime. */ public FormInputValuePropertyBindingProperties getBindingProperties() { return this.bindingProperties; } /** ** The information to bind fields to data at runtime. *
* * @param bindingProperties * The information to bind fields to data at runtime. * @return Returns a reference to this object so that method calls can be chained together. */ public FormInputValueProperty withBindingProperties(FormInputValuePropertyBindingProperties bindingProperties) { setBindingProperties(bindingProperties); return this; } /** ** A list of form properties to concatenate to create the value to assign to this field property. *
* * @return A list of form properties to concatenate to create the value to assign to this field property. */ public java.util.List* A list of form properties to concatenate to create the value to assign to this field property. *
* * @param concat * A list of form properties to concatenate to create the value to assign to this field property. */ public void setConcat(java.util.Collection* A list of form properties to concatenate to create the value to assign to this field property. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setConcat(java.util.Collection)} or {@link #withConcat(java.util.Collection)} if you want to override the * existing values. *
* * @param concat * A list of form properties to concatenate to create the value to assign to this field property. * @return Returns a reference to this object so that method calls can be chained together. */ public FormInputValueProperty withConcat(FormInputValueProperty... concat) { if (this.concat == null) { setConcat(new java.util.ArrayList* A list of form properties to concatenate to create the value to assign to this field property. *
* * @param concat * A list of form properties to concatenate to create the value to assign to this field property. * @return Returns a reference to this object so that method calls can be chained together. */ public FormInputValueProperty withConcat(java.util.Collection