Class JobBookmarksEncryption.Builder
java.lang.Object
software.amazon.awscdk.services.glue.JobBookmarksEncryption.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<JobBookmarksEncryption>
- Enclosing interface:
- JobBookmarksEncryption
@Stability(Experimental)
public static final class JobBookmarksEncryption.Builder
extends Object
implements software.amazon.jsii.Builder<JobBookmarksEncryption>
A builder for
JobBookmarksEncryption-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofJobBookmarksEncryption.getKmsKey()Sets the value ofJobBookmarksEncryption.getMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
mode
@Stability(Experimental) public JobBookmarksEncryption.Builder mode(JobBookmarksEncryptionMode mode) Sets the value ofJobBookmarksEncryption.getMode()- Parameters:
mode- Encryption mode. This parameter is required.- Returns:
this
-
kmsKey
Sets the value ofJobBookmarksEncryption.getKmsKey()- Parameters:
kmsKey- The KMS key to be used to encrypt the data.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<JobBookmarksEncryption>- Returns:
- a new instance of
JobBookmarksEncryption - Throws:
NullPointerException- if any required attribute was not provided
-