@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GridLayoutConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration for a grid layout. Also called a tiled layout.
Visuals snap to a grid with standard spacing and alignment. Dashboards are displayed as designed, with options to fit to screen or view at actual size.
Constructor and Description |
---|
GridLayoutConfiguration() |
Modifier and Type | Method and Description |
---|---|
GridLayoutConfiguration |
clone() |
boolean |
equals(Object obj) |
GridLayoutCanvasSizeOptions |
getCanvasSizeOptions() |
List<GridLayoutElement> |
getElements()
The elements that are included in a grid layout.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCanvasSizeOptions(GridLayoutCanvasSizeOptions canvasSizeOptions) |
void |
setElements(Collection<GridLayoutElement> elements)
The elements that are included in a grid layout.
|
String |
toString()
Returns a string representation of this object.
|
GridLayoutConfiguration |
withCanvasSizeOptions(GridLayoutCanvasSizeOptions canvasSizeOptions) |
GridLayoutConfiguration |
withElements(Collection<GridLayoutElement> elements)
The elements that are included in a grid layout.
|
GridLayoutConfiguration |
withElements(GridLayoutElement... elements)
The elements that are included in a grid layout.
|
public List<GridLayoutElement> getElements()
The elements that are included in a grid layout.
public void setElements(Collection<GridLayoutElement> elements)
The elements that are included in a grid layout.
elements
- The elements that are included in a grid layout.public GridLayoutConfiguration withElements(GridLayoutElement... elements)
The elements that are included in a grid layout.
NOTE: This method appends the values to the existing list (if any). Use
setElements(java.util.Collection)
or withElements(java.util.Collection)
if you want to override
the existing values.
elements
- The elements that are included in a grid layout.public GridLayoutConfiguration withElements(Collection<GridLayoutElement> elements)
The elements that are included in a grid layout.
elements
- The elements that are included in a grid layout.public void setCanvasSizeOptions(GridLayoutCanvasSizeOptions canvasSizeOptions)
canvasSizeOptions
- public GridLayoutCanvasSizeOptions getCanvasSizeOptions()
public GridLayoutConfiguration withCanvasSizeOptions(GridLayoutCanvasSizeOptions canvasSizeOptions)
canvasSizeOptions
- public String toString()
toString
in class Object
Object.toString()
public GridLayoutConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.