@Generated(value="software.amazon.awssdk:codegen") public final class EncryptionConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EncryptionConfig.Builder,EncryptionConfig>
An Key Management Service (KMS) key and an 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 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 final 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 InvalidInputException error.
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 InvalidInputException error.
public final 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 final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.