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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description S3Location()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description S3Locationclone()booleanequals(Object obj)StringgetBucket()Amazon S3 bucket identifier.StringgetKey()Amazon S3 bucket key.StringgetRoleArn()inthashCode()voidsetBucket(String bucket)Amazon S3 bucket identifier.voidsetKey(String key)Amazon S3 bucket key.voidsetRoleArn(String roleArn)StringtoString()Returns a string representation of this object; useful for testing and debugging.S3LocationwithBucket(String bucket)Amazon S3 bucket identifier.S3LocationwithKey(String key)Amazon S3 bucket key.S3LocationwithRoleArn(String roleArn)
-
-
-
Method Detail
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public S3Location clone()
-
-