Class ComponentDocumentLoop.Builder
java.lang.Object
software.amazon.awscdk.services.imagebuilder.alpha.ComponentDocumentLoop.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComponentDocumentLoop>
- Enclosing interface:
ComponentDocumentLoop
@Stability(Experimental)
public static final class ComponentDocumentLoop.Builder
extends Object
implements software.amazon.jsii.Builder<ComponentDocumentLoop>
A builder for
ComponentDocumentLoop-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofComponentDocumentLoop.getForEach()forValue(ComponentDocumentForLoop forValue) Sets the value ofComponentDocumentLoop.getForValue()Sets the value ofComponentDocumentLoop.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
forValue
@Stability(Experimental) public ComponentDocumentLoop.Builder forValue(ComponentDocumentForLoop forValue) Sets the value ofComponentDocumentLoop.getForValue()- Parameters:
forValue- The for loop iterates on a range of integers specified within a boundary outlined by the start and end of the variables.- Returns:
this
-
forEach
Sets the value ofComponentDocumentLoop.getForEach()- Parameters:
forEach- The forEach loop iterates on an explicit list of values, which can be strings and chained expressions.- Returns:
this
-
name
Sets the value ofComponentDocumentLoop.getName()- Parameters:
name- The name of the loop, which can be used to reference.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComponentDocumentLoop>- Returns:
- a new instance of
ComponentDocumentLoop - Throws:
NullPointerException- if any required attribute was not provided
-