Class Build

    • Constructor Detail

      • Build

        public Build()
    • Method Detail

      • setBuildId

        public void setBuildId​(String buildId)

        Unique identifier for a build.

        Parameters:
        buildId - Unique identifier for a build.
      • getBuildId

        public String getBuildId()

        Unique identifier for a build.

        Returns:
        Unique identifier for a build.
      • withBuildId

        public Build withBuildId​(String buildId)

        Unique identifier for a build.

        Parameters:
        buildId - Unique identifier for a build.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setName

        public void setName​(String name)

        Descriptive label associated with this build. Build names do not need to be unique. It can be set using CreateBuild or UpdateBuild.

        Parameters:
        name - Descriptive label associated with this build. Build names do not need to be unique. It can be set using CreateBuild or UpdateBuild.
      • getName

        public String getName()

        Descriptive label associated with this build. Build names do not need to be unique. It can be set using CreateBuild or UpdateBuild.

        Returns:
        Descriptive label associated with this build. Build names do not need to be unique. It can be set using CreateBuild or UpdateBuild.
      • withName

        public Build withName​(String name)

        Descriptive label associated with this build. Build names do not need to be unique. It can be set using CreateBuild or UpdateBuild.

        Parameters:
        name - Descriptive label associated with this build. Build names do not 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.
      • setVersion

        public void setVersion​(String version)

        Version associated with this build. Version strings do not need to be unique to a build. This value can be set using CreateBuild or UpdateBuild.

        Parameters:
        version - Version associated with this build. Version strings do not need to be unique to a build. This value can be set using CreateBuild or UpdateBuild.
      • getVersion

        public String getVersion()

        Version associated with this build. Version strings do not need to be unique to a build. This value can be set using CreateBuild or UpdateBuild.

        Returns:
        Version associated with this build. Version strings do not need to be unique to a build. This value can be set using CreateBuild or UpdateBuild.
      • withVersion

        public Build withVersion​(String version)

        Version associated with this build. Version strings do not need to be unique to a build. This value can be set using CreateBuild or UpdateBuild.

        Parameters:
        version - Version associated with this build. Version strings do not need to be unique to a build. This value can be set using CreateBuild or UpdateBuild.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStatus

        public void setStatus​(String status)

        Current status of the build. Possible build states include:

        • INITIALIZED: A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this state. When a build is successfully created, the build state 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 states include:
        • INITIALIZED: A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this state. When a build is successfully created, the build state 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.
        See Also:
        BuildStatus
      • getStatus

        public String getStatus()

        Current status of the build. Possible build states include:

        • INITIALIZED: A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this state. When a build is successfully created, the build state 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:
        Current status of the build. Possible build states include:
        • INITIALIZED: A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this state. When a build is successfully created, the build state 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.
        See Also:
        BuildStatus
      • withStatus

        public Build withStatus​(String status)

        Current status of the build. Possible build states include:

        • INITIALIZED: A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this state. When a build is successfully created, the build state 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 states include:
        • INITIALIZED: A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this state. When a build is successfully created, the build state 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
      • setStatus

        public void setStatus​(BuildStatus status)

        Current status of the build. Possible build states include:

        • INITIALIZED: A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this state. When a build is successfully created, the build state 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 states include:
        • INITIALIZED: A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this state. When a build is successfully created, the build state 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.
        See Also:
        BuildStatus
      • withStatus

        public Build withStatus​(BuildStatus status)

        Current status of the build. Possible build states include:

        • INITIALIZED: A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this state. When a build is successfully created, the build state 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 states include:
        • INITIALIZED: A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this state. When a build is successfully created, the build state 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
      • setSizeOnDisk

        public void setSizeOnDisk​(Long sizeOnDisk)

        File size of the uploaded game build, expressed in bytes. When the build state is INITIALIZED, this value is 0.

        Parameters:
        sizeOnDisk - File size of the uploaded game build, expressed in bytes. When the build state is INITIALIZED, this value is 0.
      • getSizeOnDisk

        public Long getSizeOnDisk()

        File size of the uploaded game build, expressed in bytes. When the build state is INITIALIZED, this value is 0.

        Returns:
        File size of the uploaded game build, expressed in bytes. When the build state is INITIALIZED, this value is 0.
      • withSizeOnDisk

        public Build withSizeOnDisk​(Long sizeOnDisk)

        File size of the uploaded game build, expressed in bytes. When the build state is INITIALIZED, this value is 0.

        Parameters:
        sizeOnDisk - File size of the uploaded game build, expressed in bytes. When the build state is INITIALIZED, this value is 0.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCreationTime

        public void setCreationTime​(Date creationTime)

        Time stamp indicating when this object was created. Format is an integer representing the number of seconds since the Unix epoch (Unix time).

        Parameters:
        creationTime - Time stamp indicating when this object was created. Format is an integer representing the number of seconds since the Unix epoch (Unix time).
      • getCreationTime

        public Date getCreationTime()

        Time stamp indicating when this object was created. Format is an integer representing the number of seconds since the Unix epoch (Unix time).

        Returns:
        Time stamp indicating when this object was created. Format is an integer representing the number of seconds since the Unix epoch (Unix time).
      • withCreationTime

        public Build withCreationTime​(Date creationTime)

        Time stamp indicating when this object was created. Format is an integer representing the number of seconds since the Unix epoch (Unix time).

        Parameters:
        creationTime - Time stamp indicating when this object was created. Format is an integer representing the number of seconds since the Unix epoch (Unix time).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object