@Generated(value="software.amazon.awssdk:codegen") public final class RevealConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RevealConfiguration.Builder,RevealConfiguration>
Specifies the configuration settings for retrieving occurrences of sensitive data reported by findings, and the status of the configuration for an Amazon Macie account. When you enable the configuration for the first time, your request must specify an Key Management Service (KMS) key. Otherwise, an error occurs. Macie uses the specified key to encrypt the sensitive data that you retrieve.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RevealConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RevealConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
kmsKeyId()
The Amazon Resource Name (ARN), ID, or alias of the KMS key to use to encrypt sensitive data that's retrieved.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RevealConfiguration.Builder> |
serializableBuilderClass() |
RevealStatus |
status()
The status of the configuration for the Amazon Macie account.
|
String |
statusAsString()
The status of the configuration for the Amazon Macie account.
|
RevealConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String kmsKeyId()
The Amazon Resource Name (ARN), ID, or alias of the KMS key to use to encrypt sensitive data that's retrieved. The key must be an existing, customer managed, symmetric encryption key that's in the same Amazon Web Services Region as the Amazon Macie account.
If this value specifies an alias, it must include the following prefix: alias/. If this value specifies a key that's owned by another Amazon Web Services account, it must specify the ARN of the key or the ARN of the key's alias.
If this value specifies an alias, it must include the following prefix: alias/. If this value specifies a key that's owned by another Amazon Web Services account, it must specify the ARN of the key or the ARN of the key's alias.
public final RevealStatus status()
The status of the configuration for the Amazon Macie account. In a request, valid values are: ENABLED, enable the configuration for the account; and, DISABLED, disable the configuration for the account. In a response, possible values are: ENABLED, the configuration is currently enabled for the account; and, DISABLED, the configuration is currently disabled for the account.
If the service returns an enum value that is not available in the current SDK version, status will
return RevealStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
RevealStatuspublic final String statusAsString()
The status of the configuration for the Amazon Macie account. In a request, valid values are: ENABLED, enable the configuration for the account; and, DISABLED, disable the configuration for the account. In a response, possible values are: ENABLED, the configuration is currently enabled for the account; and, DISABLED, the configuration is currently disabled for the account.
If the service returns an enum value that is not available in the current SDK version, status will
return RevealStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
RevealStatuspublic RevealConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RevealConfiguration.Builder,RevealConfiguration>public static RevealConfiguration.Builder builder()
public static Class<? extends RevealConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.