Class CreateBuildResult

java.lang.Object
com.amazonaws.services.gamelift.model.CreateBuildResult
All Implemented Interfaces:
Serializable, Cloneable

public class CreateBuildResult extends Object implements Serializable, Cloneable

Represents the returned data in response to a request action.

See Also:
  • Constructor Details

    • CreateBuildResult

      public CreateBuildResult()
  • Method Details

    • setBuild

      public void setBuild(Build build)

      Set of properties for the newly created build.

      Parameters:
      build - Set of properties for the newly created build.
    • getBuild

      public Build getBuild()

      Set of properties for the newly created build.

      Returns:
      Set of properties for the newly created build.
    • withBuild

      public CreateBuildResult withBuild(Build build)

      Set of properties for the newly created build.

      Parameters:
      build - Set of properties for the newly created build.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setUploadCredentials

      public void setUploadCredentials(Credentials uploadCredentials)

      AWS credentials required when uploading a game build to the storage location. These credentials have a limited lifespan and are valid only for the build they were issued for. If you need to get fresh credentials, call RequestUploadCredentials.

      Parameters:
      uploadCredentials - AWS credentials required when uploading a game build to the storage location. These credentials have a limited lifespan and are valid only for the build they were issued for. If you need to get fresh credentials, call RequestUploadCredentials.
    • getUploadCredentials

      public Credentials getUploadCredentials()

      AWS credentials required when uploading a game build to the storage location. These credentials have a limited lifespan and are valid only for the build they were issued for. If you need to get fresh credentials, call RequestUploadCredentials.

      Returns:
      AWS credentials required when uploading a game build to the storage location. These credentials have a limited lifespan and are valid only for the build they were issued for. If you need to get fresh credentials, call RequestUploadCredentials.
    • withUploadCredentials

      public CreateBuildResult withUploadCredentials(Credentials uploadCredentials)

      AWS credentials required when uploading a game build to the storage location. These credentials have a limited lifespan and are valid only for the build they were issued for. If you need to get fresh credentials, call RequestUploadCredentials.

      Parameters:
      uploadCredentials - AWS credentials required when uploading a game build to the storage location. These credentials have a limited lifespan and are valid only for the build they were issued for. If you need to get fresh credentials, call RequestUploadCredentials.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setStorageLocation

      public void setStorageLocation(S3Location storageLocation)

      Amazon S3 path and key, identifying where the game build files are stored.

      Parameters:
      storageLocation - Amazon S3 path and key, identifying where the game build files are stored.
    • getStorageLocation

      public S3Location getStorageLocation()

      Amazon S3 path and key, identifying where the game build files are stored.

      Returns:
      Amazon S3 path and key, identifying where the game build files are stored.
    • withStorageLocation

      public CreateBuildResult withStorageLocation(S3Location storageLocation)

      Amazon S3 path and key, identifying where the game build files are stored.

      Parameters:
      storageLocation - Amazon S3 path and key, identifying where the game build files are stored.
      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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public CreateBuildResult clone()
      Overrides:
      clone in class Object