@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SectionStyle extends Object implements Serializable, Cloneable, StructuredPojo
The options that style a section.
| Constructor and Description |
|---|
SectionStyle() |
| Modifier and Type | Method and Description |
|---|---|
SectionStyle |
clone() |
boolean |
equals(Object obj) |
String |
getHeight()
The height of a section.
|
Spacing |
getPadding()
The spacing between section content and its top, bottom, left, and right edges.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setHeight(String height)
The height of a section.
|
void |
setPadding(Spacing padding)
The spacing between section content and its top, bottom, left, and right edges.
|
String |
toString()
Returns a string representation of this object.
|
SectionStyle |
withHeight(String height)
The height of a section.
|
SectionStyle |
withPadding(Spacing padding)
The spacing between section content and its top, bottom, left, and right edges.
|
public void setHeight(String height)
The height of a section.
Heights can only be defined for header and footer sections. The default height margin is 0.5 inches.
height - The height of a section.
Heights can only be defined for header and footer sections. The default height margin is 0.5 inches.
public String getHeight()
The height of a section.
Heights can only be defined for header and footer sections. The default height margin is 0.5 inches.
Heights can only be defined for header and footer sections. The default height margin is 0.5 inches.
public SectionStyle withHeight(String height)
The height of a section.
Heights can only be defined for header and footer sections. The default height margin is 0.5 inches.
height - The height of a section.
Heights can only be defined for header and footer sections. The default height margin is 0.5 inches.
public void setPadding(Spacing padding)
The spacing between section content and its top, bottom, left, and right edges.
There is no padding by default.
padding - The spacing between section content and its top, bottom, left, and right edges.
There is no padding by default.
public Spacing getPadding()
The spacing between section content and its top, bottom, left, and right edges.
There is no padding by default.
There is no padding by default.
public SectionStyle withPadding(Spacing padding)
The spacing between section content and its top, bottom, left, and right edges.
There is no padding by default.
padding - The spacing between section content and its top, bottom, left, and right edges.
There is no padding by default.
public String toString()
toString in class ObjectObject.toString()public SectionStyle clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.