Class DeleteAllowListRequest
- 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.DeleteAllowListRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DeleteAllowListRequest.Builder,DeleteAllowListRequest>
@Generated("software.amazon.awssdk:codegen") public final class DeleteAllowListRequest extends Macie2Request implements ToCopyableBuilder<DeleteAllowListRequest.Builder,DeleteAllowListRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeleteAllowListRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeleteAllowListRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The unique identifier for the Amazon Macie resource that the request applies to.StringignoreJobChecks()Specifies whether to force deletion of the allow list, even if active classification jobs are configured to use the list.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DeleteAllowListRequest.Builder>serializableBuilderClass()DeleteAllowListRequest.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
-
id
public final String id()
The unique identifier for the Amazon Macie resource that the request applies to.
- Returns:
- The unique identifier for the Amazon Macie resource that the request applies to.
-
ignoreJobChecks
public final String ignoreJobChecks()
Specifies whether to force deletion of the allow list, even if active classification jobs are configured to use the list.
When you try to delete an allow list, Amazon Macie checks for classification jobs that use the list and have a status other than COMPLETE or CANCELLED. By default, Macie rejects your request if any jobs meet these criteria. To skip these checks and delete the list, set this value to true. To delete the list only if no active jobs are configured to use it, set this value to false.
- Returns:
- Specifies whether to force deletion of the allow list, even if active classification jobs are configured
to use the list.
When you try to delete an allow list, Amazon Macie checks for classification jobs that use the list and have a status other than COMPLETE or CANCELLED. By default, Macie rejects your request if any jobs meet these criteria. To skip these checks and delete the list, set this value to true. To delete the list only if no active jobs are configured to use it, set this value to false.
-
toBuilder
public DeleteAllowListRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteAllowListRequest.Builder,DeleteAllowListRequest>- Specified by:
toBuilderin classMacie2Request
-
builder
public static DeleteAllowListRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeleteAllowListRequest.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
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-