@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RevealConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the status of the Amazon Macie configuration for retrieving occurrences of sensitive data reported by findings, and the Key Management Service (KMS) key to use to encrypt sensitive data that's retrieved. When you enable the configuration for the first time, your request must specify an KMS key. Otherwise, an error occurs.
Constructor and Description |
---|
RevealConfiguration() |
Modifier and Type | Method and Description |
---|---|
RevealConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getKmsKeyId()
The Amazon Resource Name (ARN), ID, or alias of the KMS key to use to encrypt sensitive data that's retrieved.
|
String |
getStatus()
The status of the configuration for the Amazon Macie account.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKmsKeyId(String kmsKeyId)
The Amazon Resource Name (ARN), ID, or alias of the KMS key to use to encrypt sensitive data that's retrieved.
|
void |
setStatus(String status)
The status of the configuration for the Amazon Macie account.
|
String |
toString()
Returns a string representation of this object.
|
RevealConfiguration |
withKmsKeyId(String kmsKeyId)
The Amazon Resource Name (ARN), ID, or alias of the KMS key to use to encrypt sensitive data that's retrieved.
|
RevealConfiguration |
withStatus(RevealStatus status)
The status of the configuration for the Amazon Macie account.
|
RevealConfiguration |
withStatus(String status)
The status of the configuration for the Amazon Macie account.
|
public void setKmsKeyId(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 enabled 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.
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 enabled 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.
public String getKmsKeyId()
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 enabled 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 RevealConfiguration withKmsKeyId(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 enabled 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.
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 enabled 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.
public void setStatus(String 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.
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.RevealStatus
public String getStatus()
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.
RevealStatus
public RevealConfiguration withStatus(String 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.
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.RevealStatus
public RevealConfiguration withStatus(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.
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.RevealStatus
public String toString()
toString
in class Object
Object.toString()
public RevealConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.