Class S3Location
- java.lang.Object
-
- com.amazonaws.services.elasticbeanstalk.model.S3Location
-
- All Implemented Interfaces:
Serializable,Cloneable
public class S3Location extends Object implements Serializable, Cloneable
A specification of a location in Amazon S3.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description S3Location()Default constructor for S3Location object.S3Location(String s3Bucket, String s3Key)Constructs a new S3Location object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description S3Locationclone()booleanequals(Object obj)StringgetS3Bucket()The Amazon S3 bucket where the data is located.StringgetS3Key()The Amazon S3 key where the data is located.inthashCode()voidsetS3Bucket(String s3Bucket)The Amazon S3 bucket where the data is located.voidsetS3Key(String s3Key)The Amazon S3 key where the data is located.StringtoString()Returns a string representation of this object; useful for testing and debugging.S3LocationwithS3Bucket(String s3Bucket)The Amazon S3 bucket where the data is located.S3LocationwithS3Key(String s3Key)The Amazon S3 key where the data is located.
-
-
-
Constructor Detail
-
S3Location
public S3Location()
Default constructor for S3Location object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
-
S3Location
public S3Location(String s3Bucket, String s3Key)
Constructs a new S3Location object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
s3Bucket- The Amazon S3 bucket where the data is located.s3Key- The Amazon S3 key where the data is located.
-
-
Method Detail
-
setS3Bucket
public void setS3Bucket(String s3Bucket)
The Amazon S3 bucket where the data is located.
- Parameters:
s3Bucket- The Amazon S3 bucket where the data is located.
-
getS3Bucket
public String getS3Bucket()
The Amazon S3 bucket where the data is located.
- Returns:
- The Amazon S3 bucket where the data is located.
-
withS3Bucket
public S3Location withS3Bucket(String s3Bucket)
The Amazon S3 bucket where the data is located.
- Parameters:
s3Bucket- The Amazon S3 bucket where the data is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setS3Key
public void setS3Key(String s3Key)
The Amazon S3 key where the data is located.
- Parameters:
s3Key- The Amazon S3 key where the data is located.
-
getS3Key
public String getS3Key()
The Amazon S3 key where the data is located.
- Returns:
- The Amazon S3 key where the data is located.
-
withS3Key
public S3Location withS3Key(String s3Key)
The Amazon S3 key where the data is located.
- Parameters:
s3Key- The Amazon S3 key where the data is located.- 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()
-
-