Class SanitizationWarning
- java.lang.Object
-
- software.amazon.awssdk.services.mq.model.SanitizationWarning
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SanitizationWarning.Builder,SanitizationWarning>
@Generated("software.amazon.awssdk:codegen") public final class SanitizationWarning extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SanitizationWarning.Builder,SanitizationWarning>
Returns information about the configuration element or attribute that was sanitized in the configuration.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSanitizationWarning.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringattributeName()The name of the configuration attribute that has been sanitized.static SanitizationWarning.Builderbuilder()StringelementName()The name of the configuration element that has been sanitized.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()SanitizationWarningReasonreason()The reason for which the configuration elements or attributes were sanitized.StringreasonAsString()The reason for which the configuration elements or attributes were sanitized.List<SdkField<?>>sdkFields()static Class<? extends SanitizationWarning.Builder>serializableBuilderClass()SanitizationWarning.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
attributeName
public final String attributeName()
The name of the configuration attribute that has been sanitized.
- Returns:
- The name of the configuration attribute that has been sanitized.
-
elementName
public final String elementName()
The name of the configuration element that has been sanitized.
- Returns:
- The name of the configuration element that has been sanitized.
-
reason
public final SanitizationWarningReason reason()
The reason for which the configuration elements or attributes were sanitized.
If the service returns an enum value that is not available in the current SDK version,
reasonwill returnSanitizationWarningReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreasonAsString().- Returns:
- The reason for which the configuration elements or attributes were sanitized.
- See Also:
SanitizationWarningReason
-
reasonAsString
public final String reasonAsString()
The reason for which the configuration elements or attributes were sanitized.
If the service returns an enum value that is not available in the current SDK version,
reasonwill returnSanitizationWarningReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreasonAsString().- Returns:
- The reason for which the configuration elements or attributes were sanitized.
- See Also:
SanitizationWarningReason
-
toBuilder
public SanitizationWarning.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SanitizationWarning.Builder,SanitizationWarning>
-
builder
public static SanitizationWarning.Builder builder()
-
serializableBuilderClass
public static Class<? extends SanitizationWarning.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.
-
-