Package com.mongodb.crypt.capi
Class MongoAwsKmsProviderOptions.Builder
- java.lang.Object
-
- com.mongodb.crypt.capi.MongoAwsKmsProviderOptions.Builder
-
- Enclosing class:
- MongoAwsKmsProviderOptions
public static class MongoAwsKmsProviderOptions.Builder extends java.lang.ObjectThe builder for the options
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MongoAwsKmsProviderOptions.BuilderaccessKeyId(java.lang.String accessKeyId)Sets the access key id.MongoAwsKmsProviderOptionsbuild()Build the options.MongoAwsKmsProviderOptions.BuildersecretAccessKey(java.lang.String secretAccessKey)Sets the secret access key.
-
-
-
Method Detail
-
accessKeyId
public MongoAwsKmsProviderOptions.Builder accessKeyId(java.lang.String accessKeyId)
Sets the access key id.- Parameters:
accessKeyId- the access key id- Returns:
- this
-
secretAccessKey
public MongoAwsKmsProviderOptions.Builder secretAccessKey(java.lang.String secretAccessKey)
Sets the secret access key.- Parameters:
secretAccessKey- the secret access key- Returns:
- this
-
build
public MongoAwsKmsProviderOptions build()
Build the options.- Returns:
- the options
-
-