Class UpdateAllowListRequest
- 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.UpdateAllowListRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateAllowListRequest.Builder,UpdateAllowListRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateAllowListRequest extends Macie2Request implements ToCopyableBuilder<UpdateAllowListRequest.Builder,UpdateAllowListRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateAllowListRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateAllowListRequest.Builderbuilder()AllowListCriteriacriteria()The criteria that specify the text or text pattern to ignore.Stringdescription()A custom description of the allow list.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.Stringname()A custom name for the allow list.List<SdkField<?>>sdkFields()static Class<? extends UpdateAllowListRequest.Builder>serializableBuilderClass()UpdateAllowListRequest.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
-
criteria
public final AllowListCriteria criteria()
The criteria that specify the text or text pattern to ignore. The criteria can be the location and name of an S3 object that lists specific text to ignore (s3WordsList), or a regular expression that defines a text pattern to ignore (regex).
You can change a list's underlying criteria, such as the name of the S3 object or the regular expression to use. However, you can't change the type from s3WordsList to regex or the other way around.
- Returns:
- The criteria that specify the text or text pattern to ignore. The criteria can be the location and name
of an S3 object that lists specific text to ignore (s3WordsList), or a regular expression that defines a
text pattern to ignore (regex).
You can change a list's underlying criteria, such as the name of the S3 object or the regular expression to use. However, you can't change the type from s3WordsList to regex or the other way around.
-
description
public final String description()
A custom description of the allow list. The description can contain as many as 512 characters.
- Returns:
- A custom description of the allow list. The description can contain as many as 512 characters.
-
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.
-
name
public final String name()
A custom name for the allow list. The name can contain as many as 128 characters.
- Returns:
- A custom name for the allow list. The name can contain as many as 128 characters.
-
toBuilder
public UpdateAllowListRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateAllowListRequest.Builder,UpdateAllowListRequest>- Specified by:
toBuilderin classMacie2Request
-
builder
public static UpdateAllowListRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateAllowListRequest.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
-
-