Class S3Location
java.lang.Object
com.amazonaws.services.elasticbeanstalk.model.S3Location
- All Implemented Interfaces:
Serializable
,Cloneable
A specification of a location in Amazon S3.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for S3Location object.S3Location
(String s3Bucket, String s3Key) Constructs a new S3Location object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The Amazon S3 bucket where the data is located.getS3Key()
The Amazon S3 key where the data is located.int
hashCode()
void
setS3Bucket
(String s3Bucket) The Amazon S3 bucket where the data is located.void
The Amazon S3 key where the data is located.toString()
Returns a string representation of this object; useful for testing and debugging.withS3Bucket
(String s3Bucket) The Amazon S3 bucket where the data is located.The Amazon S3 key where the data is located.
-
Constructor Details
-
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
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 Details
-
setS3Bucket
The Amazon S3 bucket where the data is located.
- Parameters:
s3Bucket
- The Amazon S3 bucket where the data is located.
-
getS3Bucket
The Amazon S3 bucket where the data is located.
- Returns:
- The Amazon S3 bucket where the data is located.
-
withS3Bucket
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
The Amazon S3 key where the data is located.
- Parameters:
s3Key
- The Amazon S3 key where the data is located.
-
getS3Key
The Amazon S3 key where the data is located.
- Returns:
- The Amazon S3 key where the data is located.
-
withS3Key
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-