public static class S3StateRepository.Builder extends Object
S3StateRepository
.Constructor and Description |
---|
Builder(com.amazonaws.services.s3.AmazonS3 client,
String bucketName)
Creates a new builder for a
S3StateRepository . |
Modifier and Type | Method and Description |
---|---|
S3StateRepository |
build()
Creates a new
S3StateRepository using the current settings. |
S3StateRepository.Builder |
prefix(String keyPrefix)
Optional prefixes to prepend on to each key
|
public Builder(com.amazonaws.services.s3.AmazonS3 client, String bucketName)
S3StateRepository
.client
- the client instance to use for connecting to amazon s3bucketName
- The name of the bucket to usepublic S3StateRepository.Builder prefix(String keyPrefix)
keyPrefix
- The prefix to usepublic S3StateRepository build()
S3StateRepository
using the current settings.Copyright © 2017. All Rights Reserved.