@Generated(value="software.amazon.awssdk:codegen") public final class EnableMacieRequest extends Macie2Request implements ToCopyableBuilder<EnableMacieRequest.Builder,EnableMacieRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
EnableMacieRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EnableMacieRequest.Builder |
builder() |
String |
clientToken()
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FindingPublishingFrequency |
findingPublishingFrequency()
Specifies how often to publish updates to policy findings for the account.
|
String |
findingPublishingFrequencyAsString()
Specifies how often to publish updates to policy findings for the account.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends EnableMacieRequest.Builder> |
serializableBuilderClass() |
MacieStatus |
status()
Specifies the new status for the account.
|
String |
statusAsString()
Specifies the new status for the account.
|
EnableMacieRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String clientToken()
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
public final 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).
If the service returns an enum value that is not available in the current SDK version,
findingPublishingFrequency will return FindingPublishingFrequency.UNKNOWN_TO_SDK_VERSION. The
raw value returned by the service is available from findingPublishingFrequencyAsString().
FindingPublishingFrequencypublic final String findingPublishingFrequencyAsString()
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).
If the service returns an enum value that is not available in the current SDK version,
findingPublishingFrequency will return FindingPublishingFrequency.UNKNOWN_TO_SDK_VERSION. The
raw value returned by the service is available from findingPublishingFrequencyAsString().
FindingPublishingFrequencypublic final 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.
If the service returns an enum value that is not available in the current SDK version, status will
return MacieStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
MacieStatuspublic final String statusAsString()
Specifies the new status for the account. To enable Amazon Macie and start all Macie activities for the account, set this value to ENABLED.
If the service returns an enum value that is not available in the current SDK version, status will
return MacieStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
MacieStatuspublic EnableMacieRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EnableMacieRequest.Builder,EnableMacieRequest>toBuilder in class Macie2Requestpublic static EnableMacieRequest.Builder builder()
public static Class<? extends EnableMacieRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.