Interface EncryptionConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EncryptionConfig.Builder,EncryptionConfig>,SdkBuilder<EncryptionConfig.Builder,EncryptionConfig>,SdkPojo
- Enclosing class:
- EncryptionConfig
public static interface EncryptionConfig.Builder extends SdkPojo, CopyableBuilder<EncryptionConfig.Builder,EncryptionConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EncryptionConfig.BuilderkmsKeyArn(String kmsKeyArn)The Amazon Resource Name (ARN) of the KMS key.EncryptionConfig.BuilderroleArn(String roleArn)The ARN of the IAM role that Amazon Forecast can assume to access the KMS key.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
roleArn
EncryptionConfig.Builder roleArn(String roleArn)
The ARN of the IAM role that Amazon Forecast can assume to access the KMS key.
Passing a role across Amazon Web Services accounts is not allowed. If you pass a role that isn't in your account, you get an
InvalidInputExceptionerror.- Parameters:
roleArn- The ARN of the IAM role that Amazon Forecast can assume to access the KMS key.Passing a role across Amazon Web Services accounts is not allowed. If you pass a role that isn't in your account, you get an
InvalidInputExceptionerror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyArn
EncryptionConfig.Builder kmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the KMS key.
- Parameters:
kmsKeyArn- The Amazon Resource Name (ARN) of the KMS key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-