@Generated(value="software.amazon.awssdk:codegen") public final class CreateBuildRequest extends GameLiftRequest implements ToCopyableBuilder<CreateBuildRequest.Builder,CreateBuildRequest>
Represents the input for a request action.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateBuildRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateBuildRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
Descriptive label that is associated with a build.
|
OperatingSystem |
operatingSystem()
Operating system that the game server binaries are built to run on.
|
String |
operatingSystemAsString()
Operating system that the game server binaries are built to run on.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateBuildRequest.Builder> |
serializableBuilderClass() |
S3Location |
storageLocation()
Information indicating where your game build files are stored.
|
CreateBuildRequest.Builder |
toBuilder() |
String |
toString() |
String |
version()
Version that is associated with this build.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String name()
Descriptive label that is associated with a build. Build names do not need to be unique. You can use UpdateBuild to change this value later.
public String version()
Version that is associated with this build. Version strings do not need to be unique. You can use UpdateBuild to change this value later.
public 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, as well as a role ARN that you set up to allow Amazon GameLift to access your Amazon S3 bucket. The S3 bucket must be in the same region that you want to create a new build in.
public OperatingSystem operatingSystem()
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.
If the service returns an enum value that is not available in the current SDK version, operatingSystem
will return OperatingSystem.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from operatingSystemAsString().
OperatingSystempublic String operatingSystemAsString()
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.
If the service returns an enum value that is not available in the current SDK version, operatingSystem
will return OperatingSystem.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from operatingSystemAsString().
OperatingSystempublic CreateBuildRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateBuildRequest.Builder,CreateBuildRequest>toBuilder in class GameLiftRequestpublic static CreateBuildRequest.Builder builder()
public static Class<? extends CreateBuildRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.