Class S3Location

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

public class S3Location extends Object implements Serializable, Cloneable

Location in Amazon Simple Storage Service (Amazon S3) where a build's files are stored. This location is assigned in response to a CreateBuild call, and is always in the same region as the service used to create the build. For more details see the Amazon S3 documentation.

See Also:
  • Constructor Details

    • S3Location

      public S3Location()
  • Method Details

    • setBucket

      public void setBucket(String bucket)

      Amazon S3 bucket identifier.

      Parameters:
      bucket - Amazon S3 bucket identifier.
    • getBucket

      public String getBucket()

      Amazon S3 bucket identifier.

      Returns:
      Amazon S3 bucket identifier.
    • withBucket

      public S3Location withBucket(String bucket)

      Amazon S3 bucket identifier.

      Parameters:
      bucket - Amazon S3 bucket identifier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setKey

      public void setKey(String key)

      Amazon S3 bucket key.

      Parameters:
      key - Amazon S3 bucket key.
    • getKey

      public String getKey()

      Amazon S3 bucket key.

      Returns:
      Amazon S3 bucket key.
    • withKey

      public S3Location withKey(String key)

      Amazon S3 bucket key.

      Parameters:
      key - Amazon S3 bucket key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setRoleArn

      public void setRoleArn(String roleArn)
      Parameters:
      roleArn -
    • getRoleArn

      public String getRoleArn()
      Returns:
    • withRoleArn

      public S3Location withRoleArn(String roleArn)
      Parameters:
      roleArn -
      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 S3Location clone()
      Overrides:
      clone in class Object