@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnableMacieRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
EnableMacieRequest() |
| Modifier and Type | Method and Description |
|---|---|
EnableMacieRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
|
String |
getFindingPublishingFrequency()
Specifies how often to publish updates to policy findings for the account.
|
String |
getStatus()
Specifies the new status for the account.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
|
void |
setFindingPublishingFrequency(String findingPublishingFrequency)
Specifies how often to publish updates to policy findings for the account.
|
void |
setStatus(String status)
Specifies the new status for the account.
|
String |
toString()
Returns a string representation of this object.
|
EnableMacieRequest |
withClientToken(String clientToken)
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
|
EnableMacieRequest |
withFindingPublishingFrequency(FindingPublishingFrequency findingPublishingFrequency)
Specifies how often to publish updates to policy findings for the account.
|
EnableMacieRequest |
withFindingPublishingFrequency(String findingPublishingFrequency)
Specifies how often to publish updates to policy findings for the account.
|
EnableMacieRequest |
withStatus(MacieStatus status)
Specifies the new status for the account.
|
EnableMacieRequest |
withStatus(String status)
Specifies the new status for the account.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setClientToken(String clientToken)
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
clientToken - A unique, case-sensitive token that you provide to ensure the idempotency of the request.public String getClientToken()
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
public EnableMacieRequest withClientToken(String clientToken)
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
clientToken - A unique, case-sensitive token that you provide to ensure the idempotency of the request.public void setFindingPublishingFrequency(String findingPublishingFrequency)
Specifies how often to publish updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly Amazon CloudWatch Events).
findingPublishingFrequency - Specifies how often to publish updates to policy findings for the account. This includes publishing
updates to Security Hub and Amazon EventBridge (formerly Amazon CloudWatch Events).FindingPublishingFrequencypublic String getFindingPublishingFrequency()
Specifies how often to publish updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly Amazon CloudWatch Events).
FindingPublishingFrequencypublic EnableMacieRequest withFindingPublishingFrequency(String findingPublishingFrequency)
Specifies how often to publish updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly Amazon CloudWatch Events).
findingPublishingFrequency - Specifies how often to publish updates to policy findings for the account. This includes publishing
updates to Security Hub and Amazon EventBridge (formerly Amazon CloudWatch Events).FindingPublishingFrequencypublic EnableMacieRequest withFindingPublishingFrequency(FindingPublishingFrequency findingPublishingFrequency)
Specifies how often to publish updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly Amazon CloudWatch Events).
findingPublishingFrequency - Specifies how often to publish updates to policy findings for the account. This includes publishing
updates to Security Hub and Amazon EventBridge (formerly Amazon CloudWatch Events).FindingPublishingFrequencypublic void setStatus(String status)
Specifies the new status for the account. To enable Amazon Macie and start all Macie activities for the account, set this value to ENABLED.
status - Specifies the new status for the account. To enable Amazon Macie and start all Macie activities for the
account, set this value to ENABLED.MacieStatuspublic String getStatus()
Specifies the new status for the account. To enable Amazon Macie and start all Macie activities for the account, set this value to ENABLED.
MacieStatuspublic EnableMacieRequest withStatus(String status)
Specifies the new status for the account. To enable Amazon Macie and start all Macie activities for the account, set this value to ENABLED.
status - Specifies the new status for the account. To enable Amazon Macie and start all Macie activities for the
account, set this value to ENABLED.MacieStatuspublic EnableMacieRequest withStatus(MacieStatus status)
Specifies the new status for the account. To enable Amazon Macie and start all Macie activities for the account, set this value to ENABLED.
status - Specifies the new status for the account. To enable Amazon Macie and start all Macie activities for the
account, set this value to ENABLED.MacieStatuspublic String toString()
toString in class ObjectObject.toString()public EnableMacieRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()