Class CfnLayout.LayoutSectionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cases.CfnLayout.LayoutSectionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLayout.LayoutSectionsProperty>
- Enclosing interface:
CfnLayout.LayoutSectionsProperty
@Stability(Stable)
public static final class CfnLayout.LayoutSectionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLayout.LayoutSectionsProperty>
A builder for
CfnLayout.LayoutSectionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnLayout.LayoutSectionsProperty.getSections()sections(IResolvable sections) Sets the value ofCfnLayout.LayoutSectionsProperty.getSections()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sections
Sets the value ofCfnLayout.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 CfnLayout.LayoutSectionsProperty.Builder sections(List<? extends Object> sections) Sets the value ofCfnLayout.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<CfnLayout.LayoutSectionsProperty>- Returns:
- a new instance of
CfnLayout.LayoutSectionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-