@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GridLayoutElement extends Object implements Serializable, Cloneable, StructuredPojo
An element within a grid layout.
Constructor and Description |
---|
GridLayoutElement() |
Modifier and Type | Method and Description |
---|---|
GridLayoutElement |
clone() |
boolean |
equals(Object obj) |
Integer |
getColumnIndex()
The column index for the upper left corner of an element.
|
Integer |
getColumnSpan()
The width of a grid element expressed as a number of grid columns.
|
String |
getElementId()
A unique identifier for an element within a grid layout.
|
String |
getElementType()
The type of element.
|
Integer |
getRowIndex()
The row index for the upper left corner of an element.
|
Integer |
getRowSpan()
The height of a grid element expressed as a number of grid rows.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setColumnIndex(Integer columnIndex)
The column index for the upper left corner of an element.
|
void |
setColumnSpan(Integer columnSpan)
The width of a grid element expressed as a number of grid columns.
|
void |
setElementId(String elementId)
A unique identifier for an element within a grid layout.
|
void |
setElementType(String elementType)
The type of element.
|
void |
setRowIndex(Integer rowIndex)
The row index for the upper left corner of an element.
|
void |
setRowSpan(Integer rowSpan)
The height of a grid element expressed as a number of grid rows.
|
String |
toString()
Returns a string representation of this object.
|
GridLayoutElement |
withColumnIndex(Integer columnIndex)
The column index for the upper left corner of an element.
|
GridLayoutElement |
withColumnSpan(Integer columnSpan)
The width of a grid element expressed as a number of grid columns.
|
GridLayoutElement |
withElementId(String elementId)
A unique identifier for an element within a grid layout.
|
GridLayoutElement |
withElementType(LayoutElementType elementType)
The type of element.
|
GridLayoutElement |
withElementType(String elementType)
The type of element.
|
GridLayoutElement |
withRowIndex(Integer rowIndex)
The row index for the upper left corner of an element.
|
GridLayoutElement |
withRowSpan(Integer rowSpan)
The height of a grid element expressed as a number of grid rows.
|
public void setElementId(String elementId)
A unique identifier for an element within a grid layout.
elementId
- A unique identifier for an element within a grid layout.public String getElementId()
A unique identifier for an element within a grid layout.
public GridLayoutElement withElementId(String elementId)
A unique identifier for an element within a grid layout.
elementId
- A unique identifier for an element within a grid layout.public void setElementType(String elementType)
The type of element.
elementType
- The type of element.LayoutElementType
public String getElementType()
The type of element.
LayoutElementType
public GridLayoutElement withElementType(String elementType)
The type of element.
elementType
- The type of element.LayoutElementType
public GridLayoutElement withElementType(LayoutElementType elementType)
The type of element.
elementType
- The type of element.LayoutElementType
public void setColumnIndex(Integer columnIndex)
The column index for the upper left corner of an element.
columnIndex
- The column index for the upper left corner of an element.public Integer getColumnIndex()
The column index for the upper left corner of an element.
public GridLayoutElement withColumnIndex(Integer columnIndex)
The column index for the upper left corner of an element.
columnIndex
- The column index for the upper left corner of an element.public void setColumnSpan(Integer columnSpan)
The width of a grid element expressed as a number of grid columns.
columnSpan
- The width of a grid element expressed as a number of grid columns.public Integer getColumnSpan()
The width of a grid element expressed as a number of grid columns.
public GridLayoutElement withColumnSpan(Integer columnSpan)
The width of a grid element expressed as a number of grid columns.
columnSpan
- The width of a grid element expressed as a number of grid columns.public void setRowIndex(Integer rowIndex)
The row index for the upper left corner of an element.
rowIndex
- The row index for the upper left corner of an element.public Integer getRowIndex()
The row index for the upper left corner of an element.
public GridLayoutElement withRowIndex(Integer rowIndex)
The row index for the upper left corner of an element.
rowIndex
- The row index for the upper left corner of an element.public void setRowSpan(Integer rowSpan)
The height of a grid element expressed as a number of grid rows.
rowSpan
- The height of a grid element expressed as a number of grid rows.public Integer getRowSpan()
The height of a grid element expressed as a number of grid rows.
public GridLayoutElement withRowSpan(Integer rowSpan)
The height of a grid element expressed as a number of grid rows.
rowSpan
- The height of a grid element expressed as a number of grid rows.public String toString()
toString
in class Object
Object.toString()
public GridLayoutElement clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.