@Generated(value="software.amazon.awssdk:codegen") public final class FreeFormLayoutElement extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FreeFormLayoutElement.Builder,FreeFormLayoutElement>
An element within a free-form layout.
| Modifier and Type | Class and Description |
|---|---|
static interface |
FreeFormLayoutElement.Builder |
| Modifier and Type | Method and Description |
|---|---|
FreeFormLayoutElementBackgroundStyle |
backgroundStyle()
The background style configuration of a free-form layout element.
|
FreeFormLayoutElementBorderStyle |
borderStyle()
The border style configuration of a free-form layout element.
|
static FreeFormLayoutElement.Builder |
builder() |
String |
elementId()
A unique identifier for an element within a free-form 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() |
boolean |
hasRenderingRules()
For responses, this returns true if the service returned a value for the RenderingRules property.
|
String |
height()
The height of an element within a free-form layout.
|
LoadingAnimation |
loadingAnimation()
The loading animation configuration of a free-form layout element.
|
List<SheetElementRenderingRule> |
renderingRules()
The rendering rules that determine when an element should be displayed within a free-form layout.
|
List<SdkField<?>> |
sdkFields() |
FreeFormLayoutElementBorderStyle |
selectedBorderStyle()
The border style configuration of a free-form layout element.
|
static Class<? extends FreeFormLayoutElement.Builder> |
serializableBuilderClass() |
FreeFormLayoutElement.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Visibility |
visibility()
The visibility of an element within a free-form layout.
|
String |
visibilityAsString()
The visibility of an element within a free-form layout.
|
String |
width()
The width of an element within a free-form layout.
|
String |
xAxisLocation()
The x-axis coordinate of the element.
|
String |
yAxisLocation()
The y-axis coordinate of the element.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String elementId()
A unique identifier for an element within a free-form layout.
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
return LayoutElementType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
elementTypeAsString().
LayoutElementTypepublic 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
return LayoutElementType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
elementTypeAsString().
LayoutElementTypepublic final String xAxisLocation()
The x-axis coordinate of the element.
public final String yAxisLocation()
The y-axis coordinate of the element.
public final String width()
The width of an element within a free-form layout.
public final String height()
The height of an element within a free-form layout.
public final Visibility visibility()
The visibility of an element within a free-form layout.
If the service returns an enum value that is not available in the current SDK version, visibility will
return Visibility.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
visibilityAsString().
Visibilitypublic final String visibilityAsString()
The visibility of an element within a free-form layout.
If the service returns an enum value that is not available in the current SDK version, visibility will
return Visibility.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
visibilityAsString().
Visibilitypublic final boolean hasRenderingRules()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<SheetElementRenderingRule> renderingRules()
The rendering rules that determine when an element should be displayed within a free-form layout.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasRenderingRules() method.
public final FreeFormLayoutElementBorderStyle borderStyle()
The border style configuration of a free-form layout element.
public final FreeFormLayoutElementBorderStyle selectedBorderStyle()
The border style configuration of a free-form layout element. This border style is used when the element is selected.
public final FreeFormLayoutElementBackgroundStyle backgroundStyle()
The background style configuration of a free-form layout element.
public final LoadingAnimation loadingAnimation()
The loading animation configuration of a free-form layout element.
public FreeFormLayoutElement.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FreeFormLayoutElement.Builder,FreeFormLayoutElement>public static FreeFormLayoutElement.Builder builder()
public static Class<? extends FreeFormLayoutElement.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.