@Generated(value="software.amazon.awssdk:codegen") public final class SanitizationWarning extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SanitizationWarning.Builder,SanitizationWarning>
Returns information about the XML element or attribute that was sanitized in the configuration.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SanitizationWarning.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
attributeName()
The name of the XML attribute that has been sanitized.
|
static SanitizationWarning.Builder |
builder() |
String |
elementName()
The name of the XML element that has been sanitized.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
SanitizationWarningReason |
reason()
Required.
|
String |
reasonAsString()
Required.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SanitizationWarning.Builder> |
serializableBuilderClass() |
SanitizationWarning.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String attributeName()
The name of the XML attribute that has been sanitized.
public final String elementName()
The name of the XML element that has been sanitized.
public final SanitizationWarningReason reason()
Required. The reason for which the XML elements or attributes were sanitized.
If the service returns an enum value that is not available in the current SDK version, reason will
return SanitizationWarningReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from reasonAsString().
SanitizationWarningReasonpublic final String reasonAsString()
Required. The reason for which the XML elements or attributes were sanitized.
If the service returns an enum value that is not available in the current SDK version, reason will
return SanitizationWarningReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from reasonAsString().
SanitizationWarningReasonpublic SanitizationWarning.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SanitizationWarning.Builder,SanitizationWarning>public static SanitizationWarning.Builder builder()
public static Class<? extends SanitizationWarning.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.