@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FieldGroup extends Object implements Serializable, Cloneable, StructuredPojo
Object for a group of fields and associated properties.
| Constructor and Description |
|---|
FieldGroup() |
| Modifier and Type | Method and Description |
|---|---|
FieldGroup |
clone() |
boolean |
equals(Object obj) |
List<FieldItem> |
getFields()
Represents an ordered list containing field related information.
|
String |
getName()
Name of the field group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setFields(Collection<FieldItem> fields)
Represents an ordered list containing field related information.
|
void |
setName(String name)
Name of the field group.
|
String |
toString()
Returns a string representation of this object.
|
FieldGroup |
withFields(Collection<FieldItem> fields)
Represents an ordered list containing field related information.
|
FieldGroup |
withFields(FieldItem... fields)
Represents an ordered list containing field related information.
|
FieldGroup |
withName(String name)
Name of the field group.
|
public List<FieldItem> getFields()
Represents an ordered list containing field related information.
public void setFields(Collection<FieldItem> fields)
Represents an ordered list containing field related information.
fields - Represents an ordered list containing field related information.public FieldGroup withFields(FieldItem... fields)
Represents an ordered list containing field related information.
NOTE: This method appends the values to the existing list (if any). Use
setFields(java.util.Collection) or withFields(java.util.Collection) if you want to override the
existing values.
fields - Represents an ordered list containing field related information.public FieldGroup withFields(Collection<FieldItem> fields)
Represents an ordered list containing field related information.
fields - Represents an ordered list containing field related information.public void setName(String name)
Name of the field group.
name - Name of the field group.public String getName()
Name of the field group.
public FieldGroup withName(String name)
Name of the field group.
name - Name of the field group.public String toString()
toString in class ObjectObject.toString()public FieldGroup clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.