Class CfnLayoutPropsMixin.LayoutSectionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cases.CfnLayoutPropsMixin.LayoutSectionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLayoutPropsMixin.LayoutSectionsProperty>
- Enclosing interface:
CfnLayoutPropsMixin.LayoutSectionsProperty
@Stability(Stable)
public static final class CfnLayoutPropsMixin.LayoutSectionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLayoutPropsMixin.LayoutSectionsProperty>
A builder for
CfnLayoutPropsMixin.LayoutSectionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnLayoutPropsMixin.LayoutSectionsProperty.getSections()sections(IResolvable sections) Sets the value ofCfnLayoutPropsMixin.LayoutSectionsProperty.getSections()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sections
@Stability(Stable) public CfnLayoutPropsMixin.LayoutSectionsProperty.Builder sections(IResolvable sections) Sets the value ofCfnLayoutPropsMixin.LayoutSectionsProperty.getSections()- Parameters:
sections- Ordered list containing different kinds of sections that can be added. A LayoutSections object can only contain one section.- Returns:
this
-
sections
@Stability(Stable) public CfnLayoutPropsMixin.LayoutSectionsProperty.Builder sections(List<? extends Object> sections) Sets the value ofCfnLayoutPropsMixin.LayoutSectionsProperty.getSections()- Parameters:
sections- Ordered list containing different kinds of sections that can be added. A LayoutSections object can only contain one section.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLayoutPropsMixin.LayoutSectionsProperty>- Returns:
- a new instance of
CfnLayoutPropsMixin.LayoutSectionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-