public final class S3ObjectIdBuilder extends Object implements Serializable
S3ObjectId
.Constructor and Description |
---|
S3ObjectIdBuilder() |
S3ObjectIdBuilder(S3ObjectId id) |
Modifier and Type | Method and Description |
---|---|
S3ObjectId |
build() |
String |
getBucket() |
String |
getKey() |
String |
getVersionId() |
void |
setBucket(String bucket) |
void |
setKey(String key) |
void |
setVersionId(String versionId) |
S3ObjectIdBuilder |
withBucket(String bucket) |
S3ObjectIdBuilder |
withKey(String key) |
S3ObjectIdBuilder |
withVersionId(String versionId) |
public S3ObjectIdBuilder()
public S3ObjectIdBuilder(S3ObjectId id)
id
- S3 object id, which must not be null.public String getBucket()
public String getKey()
public String getVersionId()
public void setBucket(String bucket)
public void setKey(String key)
public void setVersionId(String versionId)
public S3ObjectIdBuilder withBucket(String bucket)
public S3ObjectIdBuilder withKey(String key)
public S3ObjectIdBuilder withVersionId(String versionId)
public S3ObjectId build()
Copyright © 2017. All rights reserved.