public static class PutFileRequest.Builder extends org.kuali.common.core.build.ValidatingBuilder<PutFileRequest>
Constructor and Description |
---|
PutFileRequest.Builder() |
Modifier and Type | Method and Description |
---|---|
PutFileRequest |
build() |
PutFileRequest.Builder |
withBucket(String bucket) |
PutFileRequest.Builder |
withEncoding(String encoding) |
PutFileRequest.Builder |
withFile(File file) |
PutFileRequest.Builder |
withKey(String key) |
PutFileRequest.Builder |
withMetadata(ObjectMetadata metadata) |
PutFileRequest.Builder |
withPermissions(com.google.common.base.Optional<com.amazonaws.services.s3.model.CannedAccessControlList> permissions) |
public PutFileRequest.Builder()
public PutFileRequest.Builder withBucket(String bucket)
public PutFileRequest.Builder withKey(String key)
public PutFileRequest.Builder withFile(File file)
public PutFileRequest.Builder withEncoding(String encoding)
public PutFileRequest.Builder withMetadata(ObjectMetadata metadata)
public PutFileRequest.Builder withPermissions(com.google.common.base.Optional<com.amazonaws.services.s3.model.CannedAccessControlList> permissions)
public PutFileRequest build()
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.