Class BuildReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.gamelift.BuildReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BuildReference>
- Enclosing interface:
BuildReference
@Stability(Stable)
public static final class BuildReference.Builder
extends Object
implements software.amazon.jsii.Builder<BuildReference>
A builder for
BuildReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofBuildReference.getBuildArn()Sets the value ofBuildReference.getBuildId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
buildArn
Sets the value ofBuildReference.getBuildArn()- Parameters:
buildArn- The ARN of the Build resource. This parameter is required.- Returns:
this
-
buildId
Sets the value ofBuildReference.getBuildId()- Parameters:
buildId- The BuildId of the Build resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BuildReference>- Returns:
- a new instance of
BuildReference - Throws:
NullPointerException- if any required attribute was not provided
-