@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Spacing extends Object implements Serializable, Cloneable, StructuredPojo
The configuration of spacing (often a margin or padding).
| Constructor and Description |
|---|
Spacing() |
| Modifier and Type | Method and Description |
|---|---|
Spacing |
clone() |
boolean |
equals(Object obj) |
String |
getBottom()
Define the bottom spacing.
|
String |
getLeft()
Define the left spacing.
|
String |
getRight()
Define the right spacing.
|
String |
getTop()
Define the top spacing.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setBottom(String bottom)
Define the bottom spacing.
|
void |
setLeft(String left)
Define the left spacing.
|
void |
setRight(String right)
Define the right spacing.
|
void |
setTop(String top)
Define the top spacing.
|
String |
toString()
Returns a string representation of this object.
|
Spacing |
withBottom(String bottom)
Define the bottom spacing.
|
Spacing |
withLeft(String left)
Define the left spacing.
|
Spacing |
withRight(String right)
Define the right spacing.
|
Spacing |
withTop(String top)
Define the top spacing.
|
public void setTop(String top)
Define the top spacing.
top - Define the top spacing.public String getTop()
Define the top spacing.
public Spacing withTop(String top)
Define the top spacing.
top - Define the top spacing.public void setBottom(String bottom)
Define the bottom spacing.
bottom - Define the bottom spacing.public String getBottom()
Define the bottom spacing.
public Spacing withBottom(String bottom)
Define the bottom spacing.
bottom - Define the bottom spacing.public void setLeft(String left)
Define the left spacing.
left - Define the left spacing.public String getLeft()
Define the left spacing.
public Spacing withLeft(String left)
Define the left spacing.
left - Define the left spacing.public void setRight(String right)
Define the right spacing.
right - Define the right spacing.public String getRight()
Define the right spacing.
public Spacing withRight(String right)
Define the right spacing.
right - Define the right spacing.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.