Interface Build.Builder

    • Method Detail

      • buildId

        Build.Builder buildId​(String buildId)

        A unique identifier for the build.

        Parameters:
        buildId - A unique identifier for the build.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • buildArn

        Build.Builder buildArn​(String 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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        Build.Builder name​(String name)

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

        Parameters:
        name - A descriptive label associated with a build. Build names don't need to be unique. It can be set using CreateBuild or UpdateBuild.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • version

        Build.Builder version​(String version)

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

        Parameters:
        version - Version information associated with a build or script. Version strings don't need to be unique.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        Build.Builder status​(String status)

        Current status of the build.

        Possible build statuses include the following:

        • INITIALIZED -- A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this status. When a build is successfully created, the build status is set to this value.

        • READY -- The game build has been successfully uploaded. You can now create new fleets for this build.

        • FAILED -- The game build upload failed. You cannot create new fleets for this build.

        Parameters:
        status - Current status of the build.

        Possible build statuses include the following:

        • INITIALIZED -- A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this status. When a build is successfully created, the build status is set to this value.

        • READY -- The game build has been successfully uploaded. You can now create new fleets for this build.

        • FAILED -- The game build upload failed. You cannot create new fleets for this build.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        BuildStatus, BuildStatus
      • status

        Build.Builder status​(BuildStatus status)

        Current status of the build.

        Possible build statuses include the following:

        • INITIALIZED -- A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this status. When a build is successfully created, the build status is set to this value.

        • READY -- The game build has been successfully uploaded. You can now create new fleets for this build.

        • FAILED -- The game build upload failed. You cannot create new fleets for this build.

        Parameters:
        status - Current status of the build.

        Possible build statuses include the following:

        • INITIALIZED -- A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this status. When a build is successfully created, the build status is set to this value.

        • READY -- The game build has been successfully uploaded. You can now create new fleets for this build.

        • FAILED -- The game build upload failed. You cannot create new fleets for this build.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        BuildStatus, BuildStatus
      • sizeOnDisk

        Build.Builder sizeOnDisk​(Long sizeOnDisk)

        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.

        Parameters:
        sizeOnDisk - 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • operatingSystem

        Build.Builder operatingSystem​(String 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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        OperatingSystem, OperatingSystem
      • operatingSystem

        Build.Builder operatingSystem​(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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        OperatingSystem, OperatingSystem
      • creationTime

        Build.Builder creationTime​(Instant creationTime)

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

        Parameters:
        creationTime - A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serverSdkVersion

        Build.Builder serverSdkVersion​(String serverSdkVersion)

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

        Parameters:
        serverSdkVersion - The Amazon GameLift Server SDK version used to develop your game server.
        Returns:
        Returns a reference to this object so that method calls can be chained together.