Class SourceCodeVersion.Builder
java.lang.Object
software.amazon.awscdk.services.apprunner.alpha.SourceCodeVersion.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SourceCodeVersion>
- Enclosing interface:
SourceCodeVersion
@Stability(Experimental)
public static final class SourceCodeVersion.Builder
extends Object
implements software.amazon.jsii.Builder<SourceCodeVersion>
A builder for
SourceCodeVersion-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofSourceCodeVersion.getType()Sets the value ofSourceCodeVersion.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
Sets the value ofSourceCodeVersion.getType()- Parameters:
type- The type of version identifier. This parameter is required.- Returns:
this
-
value
Sets the value ofSourceCodeVersion.getValue()- Parameters:
value- A source code version. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SourceCodeVersion>- Returns:
- a new instance of
SourceCodeVersion - Throws:
NullPointerException- if any required attribute was not provided
-