@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FieldOption extends Object implements Serializable, Cloneable, StructuredPojo
Object for field Options information.
Constructor and Description |
---|
FieldOption() |
Modifier and Type | Method and Description |
---|---|
FieldOption |
clone() |
boolean |
equals(Object obj) |
Boolean |
getActive()
Describes whether the
FieldOption is active (displayed) or inactive. |
String |
getName()
FieldOptionName has max length 100 and disallows trailing spaces. |
String |
getValue()
FieldOptionValue has max length 100 and must be alphanumeric with hyphens and underscores. |
int |
hashCode() |
Boolean |
isActive()
Describes whether the
FieldOption is active (displayed) or inactive. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActive(Boolean active)
Describes whether the
FieldOption is active (displayed) or inactive. |
void |
setName(String name)
FieldOptionName has max length 100 and disallows trailing spaces. |
void |
setValue(String value)
FieldOptionValue has max length 100 and must be alphanumeric with hyphens and underscores. |
String |
toString()
Returns a string representation of this object.
|
FieldOption |
withActive(Boolean active)
Describes whether the
FieldOption is active (displayed) or inactive. |
FieldOption |
withName(String name)
FieldOptionName has max length 100 and disallows trailing spaces. |
FieldOption |
withValue(String value)
FieldOptionValue has max length 100 and must be alphanumeric with hyphens and underscores. |
public void setActive(Boolean active)
Describes whether the FieldOption
is active (displayed) or inactive.
active
- Describes whether the FieldOption
is active (displayed) or inactive.public Boolean getActive()
Describes whether the FieldOption
is active (displayed) or inactive.
FieldOption
is active (displayed) or inactive.public FieldOption withActive(Boolean active)
Describes whether the FieldOption
is active (displayed) or inactive.
active
- Describes whether the FieldOption
is active (displayed) or inactive.public Boolean isActive()
Describes whether the FieldOption
is active (displayed) or inactive.
FieldOption
is active (displayed) or inactive.public void setName(String name)
FieldOptionName
has max length 100 and disallows trailing spaces.
name
- FieldOptionName
has max length 100 and disallows trailing spaces.public String getName()
FieldOptionName
has max length 100 and disallows trailing spaces.
FieldOptionName
has max length 100 and disallows trailing spaces.public FieldOption withName(String name)
FieldOptionName
has max length 100 and disallows trailing spaces.
name
- FieldOptionName
has max length 100 and disallows trailing spaces.public void setValue(String value)
FieldOptionValue
has max length 100 and must be alphanumeric with hyphens and underscores.
value
- FieldOptionValue
has max length 100 and must be alphanumeric with hyphens and underscores.public String getValue()
FieldOptionValue
has max length 100 and must be alphanumeric with hyphens and underscores.
FieldOptionValue
has max length 100 and must be alphanumeric with hyphens and underscores.public FieldOption withValue(String value)
FieldOptionValue
has max length 100 and must be alphanumeric with hyphens and underscores.
value
- FieldOptionValue
has max length 100 and must be alphanumeric with hyphens and underscores.public String toString()
toString
in class Object
Object.toString()
public FieldOption clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.