public final class S3ObjectIdBuilder
extends java.lang.Object
implements java.io.Serializable
S3ObjectId
.Constructor and Description |
---|
S3ObjectIdBuilder() |
S3ObjectIdBuilder(S3ObjectId id) |
Modifier and Type | Method and Description |
---|---|
S3ObjectId |
build() |
java.lang.String |
getBucket() |
java.lang.String |
getKey() |
java.lang.String |
getVersionId() |
void |
setBucket(java.lang.String bucket) |
void |
setKey(java.lang.String key) |
void |
setVersionId(java.lang.String versionId) |
S3ObjectIdBuilder |
withBucket(java.lang.String bucket) |
S3ObjectIdBuilder |
withKey(java.lang.String key) |
S3ObjectIdBuilder |
withVersionId(java.lang.String versionId) |
public S3ObjectIdBuilder()
public S3ObjectIdBuilder(S3ObjectId id)
id
- S3 object id, which must not be null.public java.lang.String getBucket()
public java.lang.String getKey()
public java.lang.String getVersionId()
public void setBucket(java.lang.String bucket)
public void setKey(java.lang.String key)
public void setVersionId(java.lang.String versionId)
public S3ObjectIdBuilder withBucket(java.lang.String bucket)
public S3ObjectIdBuilder withKey(java.lang.String key)
public S3ObjectIdBuilder withVersionId(java.lang.String versionId)
public S3ObjectId build()
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.