@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 status for the account.
|
String |
statusAsString()
Specifies the status for the account.
|
EnableMacieRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String clientToken()
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
public FindingPublishingFrequency findingPublishingFrequency()
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 String findingPublishingFrequencyAsString()
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 MacieStatus status()
Specifies the status for the account. To enable Amazon Macie and start all Amazon 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 String statusAsString()
Specifies the status for the account. To enable Amazon Macie and start all Amazon 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 int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.