@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SectionBasedLayoutPaperCanvasSizeOptions extends Object implements Serializable, Cloneable, StructuredPojo
The options for a paper canvas of a section-based layout.
| Constructor and Description |
|---|
SectionBasedLayoutPaperCanvasSizeOptions() |
| Modifier and Type | Method and Description |
|---|---|
SectionBasedLayoutPaperCanvasSizeOptions |
clone() |
boolean |
equals(Object obj) |
Spacing |
getPaperMargin()
Defines the spacing between the canvas content and the top, bottom, left, and right edges.
|
String |
getPaperOrientation()
The paper orientation that is used to define canvas dimensions.
|
String |
getPaperSize()
The paper size that is used to define canvas dimensions.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setPaperMargin(Spacing paperMargin)
Defines the spacing between the canvas content and the top, bottom, left, and right edges.
|
void |
setPaperOrientation(String paperOrientation)
The paper orientation that is used to define canvas dimensions.
|
void |
setPaperSize(String paperSize)
The paper size that is used to define canvas dimensions.
|
String |
toString()
Returns a string representation of this object.
|
SectionBasedLayoutPaperCanvasSizeOptions |
withPaperMargin(Spacing paperMargin)
Defines the spacing between the canvas content and the top, bottom, left, and right edges.
|
SectionBasedLayoutPaperCanvasSizeOptions |
withPaperOrientation(PaperOrientation paperOrientation)
The paper orientation that is used to define canvas dimensions.
|
SectionBasedLayoutPaperCanvasSizeOptions |
withPaperOrientation(String paperOrientation)
The paper orientation that is used to define canvas dimensions.
|
SectionBasedLayoutPaperCanvasSizeOptions |
withPaperSize(PaperSize paperSize)
The paper size that is used to define canvas dimensions.
|
SectionBasedLayoutPaperCanvasSizeOptions |
withPaperSize(String paperSize)
The paper size that is used to define canvas dimensions.
|
public SectionBasedLayoutPaperCanvasSizeOptions()
public void setPaperSize(String paperSize)
The paper size that is used to define canvas dimensions.
paperSize - The paper size that is used to define canvas dimensions.PaperSizepublic String getPaperSize()
The paper size that is used to define canvas dimensions.
PaperSizepublic SectionBasedLayoutPaperCanvasSizeOptions withPaperSize(String paperSize)
The paper size that is used to define canvas dimensions.
paperSize - The paper size that is used to define canvas dimensions.PaperSizepublic SectionBasedLayoutPaperCanvasSizeOptions withPaperSize(PaperSize paperSize)
The paper size that is used to define canvas dimensions.
paperSize - The paper size that is used to define canvas dimensions.PaperSizepublic void setPaperOrientation(String paperOrientation)
The paper orientation that is used to define canvas dimensions. Choose one of the following options:
PORTRAIT
LANDSCAPE
paperOrientation - The paper orientation that is used to define canvas dimensions. Choose one of the following options:
PORTRAIT
LANDSCAPE
PaperOrientationpublic String getPaperOrientation()
The paper orientation that is used to define canvas dimensions. Choose one of the following options:
PORTRAIT
LANDSCAPE
PORTRAIT
LANDSCAPE
PaperOrientationpublic SectionBasedLayoutPaperCanvasSizeOptions withPaperOrientation(String paperOrientation)
The paper orientation that is used to define canvas dimensions. Choose one of the following options:
PORTRAIT
LANDSCAPE
paperOrientation - The paper orientation that is used to define canvas dimensions. Choose one of the following options:
PORTRAIT
LANDSCAPE
PaperOrientationpublic SectionBasedLayoutPaperCanvasSizeOptions withPaperOrientation(PaperOrientation paperOrientation)
The paper orientation that is used to define canvas dimensions. Choose one of the following options:
PORTRAIT
LANDSCAPE
paperOrientation - The paper orientation that is used to define canvas dimensions. Choose one of the following options:
PORTRAIT
LANDSCAPE
PaperOrientationpublic void setPaperMargin(Spacing paperMargin)
Defines the spacing between the canvas content and the top, bottom, left, and right edges.
paperMargin - Defines the spacing between the canvas content and the top, bottom, left, and right edges.public Spacing getPaperMargin()
Defines the spacing between the canvas content and the top, bottom, left, and right edges.
public SectionBasedLayoutPaperCanvasSizeOptions withPaperMargin(Spacing paperMargin)
Defines the spacing between the canvas content and the top, bottom, left, and right edges.
paperMargin - Defines the spacing between the canvas content and the top, bottom, left, and right edges.public String toString()
toString in class ObjectObject.toString()public SectionBasedLayoutPaperCanvasSizeOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.