Class ComponentDocumentForLoop.Builder
java.lang.Object
software.amazon.awscdk.services.imagebuilder.alpha.ComponentDocumentForLoop.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComponentDocumentForLoop>
- Enclosing interface:
ComponentDocumentForLoop
@Stability(Experimental)
public static final class ComponentDocumentForLoop.Builder
extends Object
implements software.amazon.jsii.Builder<ComponentDocumentForLoop>
A builder for
ComponentDocumentForLoop-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofComponentDocumentForLoop.getEnd()Sets the value ofComponentDocumentForLoop.getStart()Sets the value ofComponentDocumentForLoop.getUpdateBy()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
end
Sets the value ofComponentDocumentForLoop.getEnd()- Parameters:
end- Ending value of iteration. This parameter is required. Does not accept chaining expressions.- Returns:
this
-
start
Sets the value ofComponentDocumentForLoop.getStart()- Parameters:
start- Starting value of iteration. This parameter is required. Does not accept chaining expressions.- Returns:
this
-
updateBy
Sets the value ofComponentDocumentForLoop.getUpdateBy()- Parameters:
updateBy- Difference by which an iterating value is updated through addition. This parameter is required. It must be a negative or positive non-zero value. Does not accept chaining expressions.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComponentDocumentForLoop>- Returns:
- a new instance of
ComponentDocumentForLoop - Throws:
NullPointerException- if any required attribute was not provided
-