Class GridLayoutElement
- java.lang.Object
-
- software.amazon.awssdk.services.quicksight.model.GridLayoutElement
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<GridLayoutElement.Builder,GridLayoutElement>
@Generated("software.amazon.awssdk:codegen") public final class GridLayoutElement extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GridLayoutElement.Builder,GridLayoutElement>
An element within a grid layout.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
GridLayoutElement.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GridLayoutElement.Builder
builder()
Integer
columnIndex()
The column index for the upper left corner of an element.Integer
columnSpan()
The width of a grid element expressed as a number of grid columns.String
elementId()
A unique identifier for an element within a grid layout.LayoutElementType
elementType()
The type of element.String
elementTypeAsString()
The type of element.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Integer
rowIndex()
The row index for the upper left corner of an element.Integer
rowSpan()
The height of a grid element expressed as a number of grid rows.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends GridLayoutElement.Builder>
serializableBuilderClass()
GridLayoutElement.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
elementId
public final String elementId()
A unique identifier for an element within a grid layout.
- Returns:
- A unique identifier for an element within a grid layout.
-
elementType
public final LayoutElementType elementType()
The type of element.
If the service returns an enum value that is not available in the current SDK version,
elementType
will returnLayoutElementType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromelementTypeAsString()
.- Returns:
- The type of element.
- See Also:
LayoutElementType
-
elementTypeAsString
public final String elementTypeAsString()
The type of element.
If the service returns an enum value that is not available in the current SDK version,
elementType
will returnLayoutElementType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromelementTypeAsString()
.- Returns:
- The type of element.
- See Also:
LayoutElementType
-
columnIndex
public final Integer columnIndex()
The column index for the upper left corner of an element.
- Returns:
- The column index for the upper left corner of an element.
-
columnSpan
public final Integer columnSpan()
The width of a grid element expressed as a number of grid columns.
- Returns:
- The width of a grid element expressed as a number of grid columns.
-
rowIndex
public final Integer rowIndex()
The row index for the upper left corner of an element.
- Returns:
- The row index for the upper left corner of an element.
-
rowSpan
public final Integer rowSpan()
The height of a grid element expressed as a number of grid rows.
- Returns:
- The height of a grid element expressed as a number of grid rows.
-
toBuilder
public GridLayoutElement.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<GridLayoutElement.Builder,GridLayoutElement>
-
builder
public static GridLayoutElement.Builder builder()
-
serializableBuilderClass
public static Class<? extends GridLayoutElement.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-