@Generated(value="software.amazon.awssdk:codegen") public final class EncryptionConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EncryptionConfig.Builder,EncryptionConfig>
An AWS Key Management Service (KMS) key and an AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key. You can specify this optional object in the CreateDataset and CreatePredictor requests.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EncryptionConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EncryptionConfig.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
kmsKeyArn()
The Amazon Resource Name (ARN) of the KMS key.
|
String |
roleArn()
The ARN of the IAM role that Amazon Forecast can assume to access the AWS KMS key.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EncryptionConfig.Builder> |
serializableBuilderClass() |
EncryptionConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String roleArn()
The ARN of the IAM role that Amazon Forecast can assume to access the AWS KMS key.
Passing a role across AWS accounts is not allowed. If you pass a role that isn't in your account, you get an
InvalidInputException error.
Passing a role across AWS accounts is not allowed. If you pass a role that isn't in your account, you get
an InvalidInputException error.
public String kmsKeyArn()
The Amazon Resource Name (ARN) of the KMS key.
public EncryptionConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EncryptionConfig.Builder,EncryptionConfig>public static EncryptionConfig.Builder builder()
public static Class<? extends EncryptionConfig.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.