/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.gamelift.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* Properties describing a custom game build. *

*

* All APIs by task *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class Build implements Serializable, Cloneable, StructuredPojo { /** *

* A unique identifier for the build. *

*/ private String buildId; /** *

* The Amazon Resource Name (ARN) * assigned to a Amazon GameLift build resource and uniquely identifies it. ARNs are unique across all Regions. * Format is arn:aws:gamelift:<region>::build/build-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912. In a * GameLift build ARN, the resource ID matches the BuildId value. *

*/ private String buildArn; /** *

* A descriptive label associated with a build. Build names don't need to be unique. It can be set using CreateBuild or UpdateBuild. *

*/ private String name; /** *

* Version information associated with a build or script. Version strings don't need to be unique. *

*/ private String version; /** *

* Current status of the build. *

*

* Possible build statuses include the following: *

* */ private String status; /** *

* File size of the uploaded game build, expressed in bytes. When the build status is INITIALIZED or * when using a custom Amazon S3 storage location, this value is 0. *

*/ private Long sizeOnDisk; /** *

* 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. *

*/ private String operatingSystem; /** *

* A time stamp indicating when this data object was created. Format is a number expressed in Unix time as * milliseconds (for example "1469498468.057"). *

*/ private java.util.Date creationTime; /** *

* The Amazon GameLift Server SDK version used to develop your game server. *

*/ private String serverSdkVersion; /** *

* A unique identifier for the build. *

* * @param buildId * A unique identifier for the build. */ public void setBuildId(String buildId) { this.buildId = buildId; } /** *

* A unique identifier for the build. *

* * @return A unique identifier for the build. */ public String getBuildId() { return this.buildId; } /** *

* A unique identifier for the build. *

* * @param buildId * A unique identifier for the build. * @return Returns a reference to this object so that method calls can be chained together. */ public Build withBuildId(String buildId) { setBuildId(buildId); return this; } /** *

* The Amazon Resource Name (ARN) * assigned to a Amazon GameLift build resource and uniquely identifies it. ARNs are unique across all Regions. * Format is arn:aws:gamelift:<region>::build/build-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912. In a * GameLift build ARN, the resource ID matches the BuildId value. *

* * @param buildArn * The Amazon Resource Name (ARN) assigned to a Amazon * GameLift build resource and uniquely identifies it. ARNs are unique across all Regions. Format is * arn:aws:gamelift:<region>::build/build-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912. In a * GameLift build ARN, the resource ID matches the BuildId value. */ public void setBuildArn(String buildArn) { this.buildArn = buildArn; } /** *

* The Amazon Resource Name (ARN) * assigned to a Amazon GameLift build resource and uniquely identifies it. ARNs are unique across all Regions. * Format is arn:aws:gamelift:<region>::build/build-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912. In a * GameLift build ARN, the resource ID matches the BuildId value. *

* * @return The Amazon Resource Name (ARN) assigned to a Amazon * GameLift build resource and uniquely identifies it. ARNs are unique across all Regions. Format is * arn:aws:gamelift:<region>::build/build-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912. In a * GameLift build ARN, the resource ID matches the BuildId value. */ public String getBuildArn() { return this.buildArn; } /** *

* The Amazon Resource Name (ARN) * assigned to a Amazon GameLift build resource and uniquely identifies it. ARNs are unique across all Regions. * Format is arn:aws:gamelift:<region>::build/build-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912. In a * GameLift build ARN, the resource ID matches the BuildId value. *

* * @param buildArn * The Amazon Resource Name (ARN) assigned to a Amazon * GameLift build resource and uniquely identifies it. ARNs are unique across all Regions. Format is * arn:aws:gamelift:<region>::build/build-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912. In a * GameLift build ARN, the resource ID matches the BuildId value. * @return Returns a reference to this object so that method calls can be chained together. */ public Build withBuildArn(String buildArn) { setBuildArn(buildArn); return this; } /** *

* A descriptive label associated with a build. Build names don't need to be unique. It can be set using CreateBuild or UpdateBuild. *

* * @param name * A descriptive label associated with a build. Build names don't need to be unique. It can be set using CreateBuild or UpdateBuild. */ public void setName(String name) { this.name = name; } /** *

* A descriptive label associated with a build. Build names don't need to be unique. It can be set using CreateBuild or UpdateBuild. *

* * @return A descriptive label associated with a build. Build names don't need to be unique. It can be set using CreateBuild or * UpdateBuild. */ public String getName() { return this.name; } /** *

* A descriptive label associated with a build. Build names don't need to be unique. It can be set using CreateBuild or UpdateBuild. *

* * @param name * A descriptive label associated with a build. Build names don't need to be unique. It can be set using CreateBuild or UpdateBuild. * @return Returns a reference to this object so that method calls can be chained together. */ public Build withName(String name) { setName(name); return this; } /** *

* Version information associated with a build or script. Version strings don't need to be unique. *

* * @param version * Version information associated with a build or script. Version strings don't need to be unique. */ public void setVersion(String version) { this.version = version; } /** *

* Version information associated with a build or script. Version strings don't need to be unique. *

* * @return Version information associated with a build or script. Version strings don't need to be unique. */ public String getVersion() { return this.version; } /** *

* Version information associated with a build or script. Version strings don't need to be unique. *

* * @param version * Version information associated with a build or script. Version strings don't need to be unique. * @return Returns a reference to this object so that method calls can be chained together. */ public Build withVersion(String version) { setVersion(version); return this; } /** *

* Current status of the build. *

*

* Possible build statuses include the following: *

* * * @param status * Current status of the build.

*

* Possible build statuses include the following: *

*