@Generated(value="software.amazon.awssdk:codegen") public final class SectionBasedLayoutPaperCanvasSizeOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SectionBasedLayoutPaperCanvasSizeOptions.Builder,SectionBasedLayoutPaperCanvasSizeOptions>
The options for a paper canvas of a section-based layout.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SectionBasedLayoutPaperCanvasSizeOptions.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SectionBasedLayoutPaperCanvasSizeOptions.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Spacing |
paperMargin()
Defines the spacing between the canvas content and the top, bottom, left, and right edges.
|
PaperOrientation |
paperOrientation()
The paper orientation that is used to define canvas dimensions.
|
String |
paperOrientationAsString()
The paper orientation that is used to define canvas dimensions.
|
PaperSize |
paperSize()
The paper size that is used to define canvas dimensions.
|
String |
paperSizeAsString()
The paper size that is used to define canvas dimensions.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SectionBasedLayoutPaperCanvasSizeOptions.Builder> |
serializableBuilderClass() |
SectionBasedLayoutPaperCanvasSizeOptions.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final PaperSize paperSize()
The paper size that is used to define canvas dimensions.
If the service returns an enum value that is not available in the current SDK version, paperSize will
return PaperSize.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
paperSizeAsString().
PaperSizepublic final String paperSizeAsString()
The paper size that is used to define canvas dimensions.
If the service returns an enum value that is not available in the current SDK version, paperSize will
return PaperSize.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
paperSizeAsString().
PaperSizepublic final PaperOrientation paperOrientation()
The paper orientation that is used to define canvas dimensions. Choose one of the following options:
PORTRAIT
LANDSCAPE
If the service returns an enum value that is not available in the current SDK version, paperOrientation
will return PaperOrientation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from paperOrientationAsString().
PORTRAIT
LANDSCAPE
PaperOrientationpublic final String paperOrientationAsString()
The paper orientation that is used to define canvas dimensions. Choose one of the following options:
PORTRAIT
LANDSCAPE
If the service returns an enum value that is not available in the current SDK version, paperOrientation
will return PaperOrientation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from paperOrientationAsString().
PORTRAIT
LANDSCAPE
PaperOrientationpublic final Spacing paperMargin()
Defines the spacing between the canvas content and the top, bottom, left, and right edges.
public SectionBasedLayoutPaperCanvasSizeOptions.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SectionBasedLayoutPaperCanvasSizeOptions.Builder,SectionBasedLayoutPaperCanvasSizeOptions>public static SectionBasedLayoutPaperCanvasSizeOptions.Builder builder()
public static Class<? extends SectionBasedLayoutPaperCanvasSizeOptions.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.