public class S3Location
extends java.lang.Object
implements java.io.Serializable
The S3 location.
Constructor and Description |
---|
S3Location() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getBucket()
The S3 bucket.
|
java.lang.String |
getKey()
The S3 key.
|
java.lang.String |
getVersion()
The S3 bucket version.
|
int |
hashCode() |
void |
setBucket(java.lang.String bucket)
The S3 bucket.
|
void |
setKey(java.lang.String key)
The S3 key.
|
void |
setVersion(java.lang.String version)
The S3 bucket version.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
S3Location |
withBucket(java.lang.String bucket)
The S3 bucket.
|
S3Location |
withKey(java.lang.String key)
The S3 key.
|
S3Location |
withVersion(java.lang.String version)
The S3 bucket version.
|
public java.lang.String getBucket()
The S3 bucket.
Constraints:
Length: 1 -
The S3 bucket.
public void setBucket(java.lang.String bucket)
The S3 bucket.
Constraints:
Length: 1 -
bucket
- The S3 bucket.
public S3Location withBucket(java.lang.String bucket)
The S3 bucket.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
bucket
- The S3 bucket.
public java.lang.String getKey()
The S3 key.
Constraints:
Length: 1 -
The S3 key.
public void setKey(java.lang.String key)
The S3 key.
Constraints:
Length: 1 -
key
- The S3 key.
public S3Location withKey(java.lang.String key)
The S3 key.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
key
- The S3 key.
public java.lang.String getVersion()
The S3 bucket version.
The S3 bucket version.
public void setVersion(java.lang.String version)
The S3 bucket version.
version
- The S3 bucket version.
public S3Location withVersion(java.lang.String version)
The S3 bucket version.
Returns a reference to this object so that method calls can be chained together.
version
- The S3 bucket version.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.