Class BuildAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.gamelift.alpha.BuildAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BuildAttributes>
- Enclosing interface:
BuildAttributes
@Stability(Experimental)
public static final class BuildAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<BuildAttributes>
A builder for
BuildAttributes
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofBuildAttributes.getBuildArn()
Sets the value ofBuildAttributes.getBuildId()
Sets the value ofBuildAttributes.getRole()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
buildArn
Sets the value ofBuildAttributes.getBuildArn()
- Parameters:
buildArn
- The ARN of the build. At least one ofbuildArn
andbuildId
must be provided.- Returns:
this
-
buildId
Sets the value ofBuildAttributes.getBuildId()
- Parameters:
buildId
- The identifier of the build. At least one ofbuildId
andbuildArn
must be provided.- Returns:
this
-
role
Sets the value ofBuildAttributes.getRole()
- Parameters:
role
- The IAM role assumed by GameLift to access server build in S3.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<BuildAttributes>
- Returns:
- a new instance of
BuildAttributes
- Throws:
NullPointerException
- if any required attribute was not provided
-