@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.PaperSize
public String getPaperSize()
The paper size that is used to define canvas dimensions.
PaperSize
public 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.PaperSize
public 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.PaperSize
public 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
PaperOrientation
public String getPaperOrientation()
The paper orientation that is used to define canvas dimensions. Choose one of the following options:
PORTRAIT
LANDSCAPE
PORTRAIT
LANDSCAPE
PaperOrientation
public 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
PaperOrientation
public 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
PaperOrientation
public 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 Object
Object.toString()
public SectionBasedLayoutPaperCanvasSizeOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.