Class SuppressDataIdentifier
- java.lang.Object
-
- software.amazon.awssdk.services.macie2.model.SuppressDataIdentifier
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SuppressDataIdentifier.Builder,SuppressDataIdentifier>
@Generated("software.amazon.awssdk:codegen") public final class SuppressDataIdentifier extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SuppressDataIdentifier.Builder,SuppressDataIdentifier>
Specifies a custom data identifier or managed data identifier that detected a type of sensitive data to exclude from an S3 bucket's sensitivity score.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSuppressDataIdentifier.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SuppressDataIdentifier.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The unique identifier for the custom data identifier or managed data identifier that detected the type of sensitive data to exclude from the score.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SuppressDataIdentifier.Builder>serializableBuilderClass()SuppressDataIdentifier.BuildertoBuilder()StringtoString()Returns a string representation of this object.DataIdentifierTypetype()The type of data identifier that detected the sensitive data.StringtypeAsString()The type of data identifier that detected the sensitive data.-
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 custom data identifier or managed data identifier that detected the type of sensitive data to exclude from the score.
- Returns:
- The unique identifier for the custom data identifier or managed data identifier that detected the type of sensitive data to exclude from the score.
-
type
public final DataIdentifierType type()
The type of data identifier that detected the sensitive data. Possible values are: CUSTOM, for a custom data identifier; and, MANAGED, for a managed data identifier.
If the service returns an enum value that is not available in the current SDK version,
typewill returnDataIdentifierType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of data identifier that detected the sensitive data. Possible values are: CUSTOM, for a custom data identifier; and, MANAGED, for a managed data identifier.
- See Also:
DataIdentifierType
-
typeAsString
public final String typeAsString()
The type of data identifier that detected the sensitive data. Possible values are: CUSTOM, for a custom data identifier; and, MANAGED, for a managed data identifier.
If the service returns an enum value that is not available in the current SDK version,
typewill returnDataIdentifierType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of data identifier that detected the sensitive data. Possible values are: CUSTOM, for a custom data identifier; and, MANAGED, for a managed data identifier.
- See Also:
DataIdentifierType
-
toBuilder
public SuppressDataIdentifier.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SuppressDataIdentifier.Builder,SuppressDataIdentifier>
-
builder
public static SuppressDataIdentifier.Builder builder()
-
serializableBuilderClass
public static Class<? extends SuppressDataIdentifier.Builder> serializableBuilderClass()
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-