@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LayoutSections extends Object implements Serializable, Cloneable, StructuredPojo
Ordered list containing different kinds of sections that can be added. A LayoutSections object can only contain one section.
Constructor and Description |
---|
LayoutSections() |
Modifier and Type | Method and Description |
---|---|
LayoutSections |
clone() |
boolean |
equals(Object obj) |
List<Section> |
getSections() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSections(Collection<Section> sections) |
String |
toString()
Returns a string representation of this object.
|
LayoutSections |
withSections(Collection<Section> sections) |
LayoutSections |
withSections(Section... sections)
NOTE: This method appends the values to the existing list (if any).
|
public void setSections(Collection<Section> sections)
sections
- public LayoutSections withSections(Section... sections)
NOTE: This method appends the values to the existing list (if any). Use
setSections(java.util.Collection)
or withSections(java.util.Collection)
if you want to override
the existing values.
sections
- public LayoutSections withSections(Collection<Section> sections)
sections
- public String toString()
toString
in class Object
Object.toString()
public LayoutSections clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.