Interface GridLayoutElement.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GridLayoutElement.Builder,,GridLayoutElement> SdkBuilder<GridLayoutElement.Builder,,GridLayoutElement> SdkPojo
- Enclosing class:
GridLayoutElement
-
Method Summary
Modifier and TypeMethodDescriptiondefault GridLayoutElement.BuilderbackgroundStyle(Consumer<GridLayoutElementBackgroundStyle.Builder> backgroundStyle) The background style configuration of a grid layout element.backgroundStyle(GridLayoutElementBackgroundStyle backgroundStyle) The background style configuration of a grid layout element.borderRadius(String borderRadius) The border radius of a grid layout element.default GridLayoutElement.BuilderborderStyle(Consumer<GridLayoutElementBorderStyle.Builder> borderStyle) The border style configuration of a grid layout element.borderStyle(GridLayoutElementBorderStyle borderStyle) The border style configuration of a grid layout element.columnIndex(Integer columnIndex) The column index for the upper left corner of an element.columnSpan(Integer columnSpan) The width of a grid element expressed as a number of grid columns.A unique identifier for an element within a grid layout.elementType(String elementType) The type of element.elementType(LayoutElementType elementType) The type of element.default GridLayoutElement.BuilderloadingAnimation(Consumer<LoadingAnimation.Builder> loadingAnimation) Sets the value of the LoadingAnimation property for this object.loadingAnimation(LoadingAnimation loadingAnimation) Sets the value of the LoadingAnimation property for this object.The padding of a grid layout element.The row index for the upper left corner of an element.The height of a grid element expressed as a number of grid rows.default GridLayoutElement.BuilderselectedBorderStyle(Consumer<GridLayoutElementBorderStyle.Builder> selectedBorderStyle) The border style configuration of a grid layout element.selectedBorderStyle(GridLayoutElementBorderStyle selectedBorderStyle) The border style configuration of a grid layout element.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
elementId
A unique identifier for an element within a grid layout.
- Parameters:
elementId- A unique identifier for an element within a grid layout.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elementType
The type of element.
- Parameters:
elementType- The type of element.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
elementType
The type of element.
- Parameters:
elementType- The type of element.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
columnIndex
The column index for the upper left corner of an element.
- Parameters:
columnIndex- The column index for the upper left corner of an element.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columnSpan
The width of a grid element expressed as a number of grid columns.
- Parameters:
columnSpan- The width of a grid element expressed as a number of grid columns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rowIndex
The row index for the upper left corner of an element.
- Parameters:
rowIndex- The row index for the upper left corner of an element.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rowSpan
The height of a grid element expressed as a number of grid rows.
- Parameters:
rowSpan- The height of a grid element expressed as a number of grid rows.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
borderStyle
The border style configuration of a grid layout element.
- Parameters:
borderStyle- The border style configuration of a grid layout element.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
borderStyle
default GridLayoutElement.Builder borderStyle(Consumer<GridLayoutElementBorderStyle.Builder> borderStyle) The border style configuration of a grid layout element.
This is a convenience method that creates an instance of theGridLayoutElementBorderStyle.Builderavoiding the need to create one manually viaGridLayoutElementBorderStyle.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toborderStyle(GridLayoutElementBorderStyle).- Parameters:
borderStyle- a consumer that will call methods onGridLayoutElementBorderStyle.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
selectedBorderStyle
The border style configuration of a grid layout element. This border style is used when the element is selected.
- Parameters:
selectedBorderStyle- The border style configuration of a grid layout element. This border style is used when the element is selected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectedBorderStyle
default GridLayoutElement.Builder selectedBorderStyle(Consumer<GridLayoutElementBorderStyle.Builder> selectedBorderStyle) The border style configuration of a grid layout element. This border style is used when the element is selected.
This is a convenience method that creates an instance of theGridLayoutElementBorderStyle.Builderavoiding the need to create one manually viaGridLayoutElementBorderStyle.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toselectedBorderStyle(GridLayoutElementBorderStyle).- Parameters:
selectedBorderStyle- a consumer that will call methods onGridLayoutElementBorderStyle.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
backgroundStyle
The background style configuration of a grid layout element.
- Parameters:
backgroundStyle- The background style configuration of a grid layout element.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backgroundStyle
default GridLayoutElement.Builder backgroundStyle(Consumer<GridLayoutElementBackgroundStyle.Builder> backgroundStyle) The background style configuration of a grid layout element.
This is a convenience method that creates an instance of theGridLayoutElementBackgroundStyle.Builderavoiding the need to create one manually viaGridLayoutElementBackgroundStyle.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobackgroundStyle(GridLayoutElementBackgroundStyle).- Parameters:
backgroundStyle- a consumer that will call methods onGridLayoutElementBackgroundStyle.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
loadingAnimation
Sets the value of the LoadingAnimation property for this object.- Parameters:
loadingAnimation- The new value for the LoadingAnimation property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadingAnimation
default GridLayoutElement.Builder loadingAnimation(Consumer<LoadingAnimation.Builder> loadingAnimation) Sets the value of the LoadingAnimation property for this object. This is a convenience method that creates an instance of theLoadingAnimation.Builderavoiding the need to create one manually viaLoadingAnimation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toloadingAnimation(LoadingAnimation).- Parameters:
loadingAnimation- a consumer that will call methods onLoadingAnimation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
borderRadius
The border radius of a grid layout element.
- Parameters:
borderRadius- The border radius of a grid layout element.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
padding
The padding of a grid layout element.
- Parameters:
padding- The padding of a grid layout element.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-