Class EnableMacieRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.macie2.model.Macie2Request
-
- software.amazon.awssdk.services.macie2.model.EnableMacieRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<EnableMacieRequest.Builder,EnableMacieRequest>
@Generated("software.amazon.awssdk:codegen") public final class EnableMacieRequest extends Macie2Request implements ToCopyableBuilder<EnableMacieRequest.Builder,EnableMacieRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEnableMacieRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EnableMacieRequest.Builderbuilder()StringclientToken()A unique, case-sensitive token that you provide to ensure the idempotency of the request.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)FindingPublishingFrequencyfindingPublishingFrequency()Specifies how often to publish updates to policy findings for the account.StringfindingPublishingFrequencyAsString()Specifies how often to publish updates to policy findings for the account.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends EnableMacieRequest.Builder>serializableBuilderClass()MacieStatusstatus()Specifies the new status for the account.StringstatusAsString()Specifies the new status for the account.EnableMacieRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
clientToken
public final String clientToken()
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
- Returns:
- A unique, case-sensitive token that you provide to ensure the idempotency of the request.
-
findingPublishingFrequency
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,
findingPublishingFrequencywill returnFindingPublishingFrequency.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfindingPublishingFrequencyAsString().- Returns:
- 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).
- See Also:
FindingPublishingFrequency
-
findingPublishingFrequencyAsString
public 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,
findingPublishingFrequencywill returnFindingPublishingFrequency.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfindingPublishingFrequencyAsString().- Returns:
- 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).
- See Also:
FindingPublishingFrequency
-
status
public 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,
statuswill returnMacieStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Specifies the new status for the account. To enable Amazon Macie and start all Macie activities for the account, set this value to ENABLED.
- See Also:
MacieStatus
-
statusAsString
public 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,
statuswill returnMacieStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Specifies the new status for the account. To enable Amazon Macie and start all Macie activities for the account, set this value to ENABLED.
- See Also:
MacieStatus
-
toBuilder
public EnableMacieRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EnableMacieRequest.Builder,EnableMacieRequest>- Specified by:
toBuilderin classMacie2Request
-
builder
public static EnableMacieRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends EnableMacieRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-