@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SectionBasedLayoutConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration for a section-based layout.
Constructor and Description |
---|
SectionBasedLayoutConfiguration() |
public List<HeaderFooterSectionConfiguration> getHeaderSections()
A list of header section configurations.
public void setHeaderSections(Collection<HeaderFooterSectionConfiguration> headerSections)
A list of header section configurations.
headerSections
- A list of header section configurations.public SectionBasedLayoutConfiguration withHeaderSections(HeaderFooterSectionConfiguration... headerSections)
A list of header section configurations.
NOTE: This method appends the values to the existing list (if any). Use
setHeaderSections(java.util.Collection)
or withHeaderSections(java.util.Collection)
if you want
to override the existing values.
headerSections
- A list of header section configurations.public SectionBasedLayoutConfiguration withHeaderSections(Collection<HeaderFooterSectionConfiguration> headerSections)
A list of header section configurations.
headerSections
- A list of header section configurations.public List<BodySectionConfiguration> getBodySections()
A list of body section configurations.
public void setBodySections(Collection<BodySectionConfiguration> bodySections)
A list of body section configurations.
bodySections
- A list of body section configurations.public SectionBasedLayoutConfiguration withBodySections(BodySectionConfiguration... bodySections)
A list of body section configurations.
NOTE: This method appends the values to the existing list (if any). Use
setBodySections(java.util.Collection)
or withBodySections(java.util.Collection)
if you want to
override the existing values.
bodySections
- A list of body section configurations.public SectionBasedLayoutConfiguration withBodySections(Collection<BodySectionConfiguration> bodySections)
A list of body section configurations.
bodySections
- A list of body section configurations.public List<HeaderFooterSectionConfiguration> getFooterSections()
A list of footer section configurations.
public void setFooterSections(Collection<HeaderFooterSectionConfiguration> footerSections)
A list of footer section configurations.
footerSections
- A list of footer section configurations.public SectionBasedLayoutConfiguration withFooterSections(HeaderFooterSectionConfiguration... footerSections)
A list of footer section configurations.
NOTE: This method appends the values to the existing list (if any). Use
setFooterSections(java.util.Collection)
or withFooterSections(java.util.Collection)
if you want
to override the existing values.
footerSections
- A list of footer section configurations.public SectionBasedLayoutConfiguration withFooterSections(Collection<HeaderFooterSectionConfiguration> footerSections)
A list of footer section configurations.
footerSections
- A list of footer section configurations.public void setCanvasSizeOptions(SectionBasedLayoutCanvasSizeOptions canvasSizeOptions)
The options for the canvas of a section-based layout.
canvasSizeOptions
- The options for the canvas of a section-based layout.public SectionBasedLayoutCanvasSizeOptions getCanvasSizeOptions()
The options for the canvas of a section-based layout.
public SectionBasedLayoutConfiguration withCanvasSizeOptions(SectionBasedLayoutCanvasSizeOptions canvasSizeOptions)
The options for the canvas of a section-based layout.
canvasSizeOptions
- The options for the canvas of a section-based layout.public String toString()
toString
in class Object
Object.toString()
public SectionBasedLayoutConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.