@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateBuildRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for a request operation.
NOOP
Constructor and Description |
---|
CreateBuildRequest() |
Modifier and Type | Method and Description |
---|---|
CreateBuildRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getName()
A descriptive label that is associated with a build.
|
String |
getOperatingSystem()
The operating system that the game server binaries are built to run on.
|
S3Location |
getStorageLocation()
Information indicating where your game build files are stored.
|
List<Tag> |
getTags()
A list of labels to assign to the new build resource.
|
String |
getVersion()
Version information that is associated with a build or script.
|
int |
hashCode() |
void |
setName(String name)
A descriptive label that is associated with a build.
|
void |
setOperatingSystem(OperatingSystem operatingSystem)
The operating system that the game server binaries are built to run on.
|
void |
setOperatingSystem(String operatingSystem)
The operating system that the game server binaries are built to run on.
|
void |
setStorageLocation(S3Location storageLocation)
Information indicating where your game build files are stored.
|
void |
setTags(Collection<Tag> tags)
A list of labels to assign to the new build resource.
|
void |
setVersion(String version)
Version information that is associated with a build or script.
|
String |
toString()
Returns a string representation of this object.
|
CreateBuildRequest |
withName(String name)
A descriptive label that is associated with a build.
|
CreateBuildRequest |
withOperatingSystem(OperatingSystem operatingSystem)
The operating system that the game server binaries are built to run on.
|
CreateBuildRequest |
withOperatingSystem(String operatingSystem)
The operating system that the game server binaries are built to run on.
|
CreateBuildRequest |
withStorageLocation(S3Location storageLocation)
Information indicating where your game build files are stored.
|
CreateBuildRequest |
withTags(Collection<Tag> tags)
A list of labels to assign to the new build resource.
|
CreateBuildRequest |
withTags(Tag... tags)
A list of labels to assign to the new build resource.
|
CreateBuildRequest |
withVersion(String version)
Version information that is associated with a build or script.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(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.
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 String getName()
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 CreateBuildRequest withName(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.
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 void setVersion(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.
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 String getVersion()
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 CreateBuildRequest withVersion(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.
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 void setStorageLocation(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 StorageLocation
is specified, the size of your file can be found in your Amazon S3 bucket.
Amazon GameLift will report a SizeOnDisk
of 0.
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.
public S3Location getStorageLocation()
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.
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.
public CreateBuildRequest withStorageLocation(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 StorageLocation
is specified, the size of your file can be found in your Amazon S3 bucket.
Amazon GameLift will report a SizeOnDisk
of 0.
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.
public void setOperatingSystem(String 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.
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.OperatingSystem
public String getOperatingSystem()
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.
OperatingSystem
public CreateBuildRequest withOperatingSystem(String 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.
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.OperatingSystem
public void setOperatingSystem(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.
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.OperatingSystem
public CreateBuildRequest withOperatingSystem(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.
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.OperatingSystem
public List<Tag> getTags()
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.
public void setTags(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.
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.public CreateBuildRequest withTags(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.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
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.public CreateBuildRequest withTags(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.
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.public String toString()
toString
in class Object
Object.toString()
public CreateBuildRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()