Interface CreateBuildRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateBuildRequest.Builder,CreateBuildRequest>,GameLiftRequest.Builder,SdkBuilder<CreateBuildRequest.Builder,CreateBuildRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateBuildRequest
public static interface CreateBuildRequest.Builder extends GameLiftRequest.Builder, SdkPojo, CopyableBuilder<CreateBuildRequest.Builder,CreateBuildRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateBuildRequest.Buildername(String name)A descriptive label associated with a build.CreateBuildRequest.BuilderoperatingSystem(String operatingSystem)The operating system that your game server binaries run on.CreateBuildRequest.BuilderoperatingSystem(OperatingSystem operatingSystem)The operating system that your game server binaries run on.CreateBuildRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateBuildRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateBuildRequest.BuilderserverSdkVersion(String serverSdkVersion)A server SDK version you used when integrating your game server build with Amazon GameLift.default CreateBuildRequest.BuilderstorageLocation(Consumer<S3Location.Builder> storageLocation)Information indicating where your game build files are stored.CreateBuildRequest.BuilderstorageLocation(S3Location storageLocation)Information indicating where your game build files are stored.CreateBuildRequest.Buildertags(Collection<Tag> tags)A list of labels to assign to the new build resource.CreateBuildRequest.Buildertags(Consumer<Tag.Builder>... tags)A list of labels to assign to the new build resource.CreateBuildRequest.Buildertags(Tag... tags)A list of labels to assign to the new build resource.CreateBuildRequest.Builderversion(String version)Version information associated with a build or script.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.gamelift.model.GameLiftRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
name
CreateBuildRequest.Builder name(String name)
A descriptive label associated with a build. Build names don't need to be unique. You can change this value later.
- Parameters:
name- A descriptive label associated with a build. Build names don't need to be unique. You can change this value later.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
CreateBuildRequest.Builder version(String version)
Version information associated with a build or script. Version strings don't need to be unique. You can change this value later.
- Parameters:
version- Version information associated with a build or script. Version strings don't need to be unique. You can change this value later.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageLocation
CreateBuildRequest.Builder storageLocation(S3Location 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
StorageLocationis specified, the size of your file can be found in your Amazon S3 bucket. Amazon GameLift will report aSizeOnDiskof 0.- Parameters:
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
StorageLocationis specified, the size of your file can be found in your Amazon S3 bucket. Amazon GameLift will report aSizeOnDiskof 0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageLocation
default CreateBuildRequest.Builder storageLocation(Consumer<S3Location.Builder> 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
This is a convenience method that creates an instance of theStorageLocationis specified, the size of your file can be found in your Amazon S3 bucket. Amazon GameLift will report aSizeOnDiskof 0.S3Location.Builderavoiding the need to create one manually viaS3Location.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostorageLocation(S3Location).- Parameters:
storageLocation- a consumer that will call methods onS3Location.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
storageLocation(S3Location)
-
operatingSystem
CreateBuildRequest.Builder operatingSystem(String operatingSystem)
The operating system that your game server binaries run on. This value determines the type of fleet resources that you use for this build. If your game build contains multiple executables, they all must run on the same operating system. You must specify a valid operating system in this request. There is no default value. You can't change a build's operating system later.
If you have active fleets using the Windows Server 2012 operating system, you can continue to create new builds using this OS until October 10, 2023, when Microsoft ends its support. All others must use Windows Server 2016 when creating new Windows-based builds.
- Parameters:
operatingSystem- The operating system that your game server binaries run on. This value determines the type of fleet resources that you use for this build. If your game build contains multiple executables, they all must run on the same operating system. You must specify a valid operating system in this request. There is no default value. You can't change a build's operating system later.If you have active fleets using the Windows Server 2012 operating system, you can continue to create new builds using this OS until October 10, 2023, when Microsoft ends its support. All others must use Windows Server 2016 when creating new Windows-based builds.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OperatingSystem,OperatingSystem
-
operatingSystem
CreateBuildRequest.Builder operatingSystem(OperatingSystem operatingSystem)
The operating system that your game server binaries run on. This value determines the type of fleet resources that you use for this build. If your game build contains multiple executables, they all must run on the same operating system. You must specify a valid operating system in this request. There is no default value. You can't change a build's operating system later.
If you have active fleets using the Windows Server 2012 operating system, you can continue to create new builds using this OS until October 10, 2023, when Microsoft ends its support. All others must use Windows Server 2016 when creating new Windows-based builds.
- Parameters:
operatingSystem- The operating system that your game server binaries run on. This value determines the type of fleet resources that you use for this build. If your game build contains multiple executables, they all must run on the same operating system. You must specify a valid operating system in this request. There is no default value. You can't change a build's operating system later.If you have active fleets using the Windows Server 2012 operating system, you can continue to create new builds using this OS until October 10, 2023, when Microsoft ends its support. All others must use Windows Server 2016 when creating new Windows-based builds.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OperatingSystem,OperatingSystem
-
tags
CreateBuildRequest.Builder tags(Collection<Tag> tags)
A list of labels to assign to the new build resource. Tags are developer defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference. Once the resource is created, you can use TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags. The maximum tag limit may be lower than stated. See the Amazon Web Services General Reference for actual tagging limits.
- Parameters:
tags- A list of labels to assign to the new build resource. Tags are developer defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference. Once the resource is created, you can use TagResource, UntagResource , and ListTagsForResource to add, remove, and view tags. The maximum tag limit may be lower than stated. See the Amazon Web Services General Reference for actual tagging limits.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateBuildRequest.Builder tags(Tag... tags)
A list of labels to assign to the new build resource. Tags are developer defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference. Once the resource is created, you can use TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags. The maximum tag limit may be lower than stated. See the Amazon Web Services General Reference for actual tagging limits.
- Parameters:
tags- A list of labels to assign to the new build resource. Tags are developer defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference. Once the resource is created, you can use TagResource, UntagResource , and ListTagsForResource to add, remove, and view tags. The maximum tag limit may be lower than stated. See the Amazon Web Services General Reference for actual tagging limits.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateBuildRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of labels to assign to the new build resource. Tags are developer defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference. Once the resource is created, you can use TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags. The maximum tag limit may be lower than stated. See the Amazon Web Services General Reference for actual tagging limits.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
serverSdkVersion
CreateBuildRequest.Builder serverSdkVersion(String serverSdkVersion)
A server SDK version you used when integrating your game server build with Amazon GameLift. For more information see Integrate games with custom game servers. By default Amazon GameLift sets this value to
4.0.2.- Parameters:
serverSdkVersion- A server SDK version you used when integrating your game server build with Amazon GameLift. For more information see Integrate games with custom game servers. By default Amazon GameLift sets this value to4.0.2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateBuildRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateBuildRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-