public static final class CfnBuildProps.Builder
extends java.lang.Object
CfnBuildProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnBuildProps |
build()
Builds the configured instance.
|
CfnBuildProps.Builder |
name(java.lang.String name)
Sets the value of
CfnBuildProps.getName() |
CfnBuildProps.Builder |
operatingSystem(java.lang.String operatingSystem)
Sets the value of
CfnBuildProps.getOperatingSystem() |
CfnBuildProps.Builder |
storageLocation(CfnBuild.S3LocationProperty storageLocation)
Sets the value of
CfnBuildProps.getStorageLocation() |
CfnBuildProps.Builder |
storageLocation(IResolvable storageLocation)
Sets the value of
CfnBuildProps.getStorageLocation() |
CfnBuildProps.Builder |
version(java.lang.String version)
Sets the value of
CfnBuildProps.getVersion() |
public CfnBuildProps.Builder name(java.lang.String name)
CfnBuildProps.getName()
name
- A descriptive label that is associated with a build.
Build names do not need to be unique.this
public CfnBuildProps.Builder operatingSystem(java.lang.String operatingSystem)
CfnBuildProps.getOperatingSystem()
operatingSystem
- The operating system that the game server binaries are built to run on.
This value determines the type of fleet resources that you can use for this build. If your game build contains multiple executables, they all must run on the same operating system. If an operating system is not specified when creating a build, Amazon GameLift uses the default value (WINDOWS_2012). This value cannot be changed later.this
public CfnBuildProps.Builder storageLocation(IResolvable storageLocation)
CfnBuildProps.getStorageLocation()
storageLocation
- Information indicating where your game build files are stored.
Use this parameter only when creating a build with files stored in an Amazon S3 bucket that you own. The storage location must specify an Amazon S3 bucket name and key. The location must also specify a role ARN that you set up to allow Amazon GameLift to access your Amazon S3 bucket. The S3 bucket and your new build must be in the same Region.
If a StorageLocation
is specified, the size of your file can be found in your Amazon S3 bucket. Amazon GameLift will report a SizeOnDisk
of 0.
this
public CfnBuildProps.Builder storageLocation(CfnBuild.S3LocationProperty storageLocation)
CfnBuildProps.getStorageLocation()
storageLocation
- Information indicating where your game build files are stored.
Use this parameter only when creating a build with files stored in an Amazon S3 bucket that you own. The storage location must specify an Amazon S3 bucket name and key. The location must also specify a role ARN that you set up to allow Amazon GameLift to access your Amazon S3 bucket. The S3 bucket and your new build must be in the same Region.
If a StorageLocation
is specified, the size of your file can be found in your Amazon S3 bucket. Amazon GameLift will report a SizeOnDisk
of 0.
this
public CfnBuildProps.Builder version(java.lang.String version)
CfnBuildProps.getVersion()
version
- Version information that is associated with this build.
Version strings do not need to be unique.this
public CfnBuildProps build()
CfnBuildProps
java.lang.NullPointerException
- if any required attribute was not provided