public class S3Location
extends java.lang.Object
implements java.io.Serializable
A specification of a location in Amazon S3.
| コンストラクタと説明 |
|---|
S3Location()
Default constructor for a new S3Location object.
|
S3Location(java.lang.String s3Bucket,
java.lang.String s3Key)
Constructs a new S3Location object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getS3Bucket()
The Amazon S3 bucket where the data is located.
|
java.lang.String |
getS3Key()
The Amazon S3 key where the data is located.
|
int |
hashCode() |
void |
setS3Bucket(java.lang.String s3Bucket)
The Amazon S3 bucket where the data is located.
|
void |
setS3Key(java.lang.String s3Key)
The Amazon S3 key where the data is located.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
S3Location |
withS3Bucket(java.lang.String s3Bucket)
The Amazon S3 bucket where the data is located.
|
S3Location |
withS3Key(java.lang.String s3Key)
The Amazon S3 key where the data is located.
|
public S3Location()
public S3Location(java.lang.String s3Bucket,
java.lang.String s3Key)
s3Bucket - The Amazon S3 bucket where the data is located.s3Key - The Amazon S3 key where the data is located.public java.lang.String getS3Bucket()
Constraints:
Length: 0 - 255
public void setS3Bucket(java.lang.String s3Bucket)
Constraints:
Length: 0 - 255
s3Bucket - The Amazon S3 bucket where the data is located.public S3Location withS3Bucket(java.lang.String s3Bucket)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 255
s3Bucket - The Amazon S3 bucket where the data is located.public java.lang.String getS3Key()
Constraints:
Length: 0 - 1024
public void setS3Key(java.lang.String s3Key)
Constraints:
Length: 0 - 1024
s3Key - The Amazon S3 key where the data is located.public S3Location withS3Key(java.lang.String s3Key)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
s3Key - The Amazon S3 key where the data is located.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object