@Generated(value="software.amazon.awssdk:codegen") public final class CreateBuildRequest extends GameLiftRequest implements ToCopyableBuilder<CreateBuildRequest.Builder,CreateBuildRequest>
Represents the input for a request operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateBuildRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateBuildRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
String |
name()
A descriptive label that is associated with a build.
|
OperatingSystem |
operatingSystem()
The operating system that the game server binaries are built to run on.
|
String |
operatingSystemAsString()
The operating system that the game server binaries are built to run on.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateBuildRequest.Builder> |
serializableBuilderClass() |
S3Location |
storageLocation()
The location where your game build files are stored.
|
List<Tag> |
tags()
A list of labels to assign to the new build resource.
|
CreateBuildRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
version()
Version information that is associated with a build or script.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
A 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 final String version()
Version information that is associated with a build or script. Version strings do not need to be unique. You can use UpdateBuild to change this value later.
public final S3Location storageLocation()
The location where your game build files are stored. Use this parameter only when creating a build using files that are stored in an S3 bucket that you own. Identify an S3 bucket name and key, which must in the same Region where you're creating a build. This parameter must also specify the ARN for an IAM role that you've set up to give Amazon GameLift access your S3 bucket. To call this operation with a storage location, you must have IAM PassRole permission. For more details on IAM roles and PassRole permissions, see Set up a role for GameLift access.
public final OperatingSystem 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.
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 final String operatingSystemAsString()
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.
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 final boolean hasTags()
public final List<Tag> tags()
A list of labels to assign to the new build resource. Tags are developer-defined key-value pairs. Tagging AWS resources are useful for resource management, access management and cost allocation. For more information, see Tagging AWS Resources in the AWS 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 AWS General Reference for actual tagging limits.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public 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 final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.