public static interface SanitizationWarning.Builder extends CopyableBuilder<SanitizationWarning.Builder,SanitizationWarning>
Modifier and Type | Method and Description |
---|---|
SanitizationWarning.Builder |
attributeName(String attributeName)
The name of the XML attribute that has been sanitized.
|
SanitizationWarning.Builder |
elementName(String elementName)
The name of the XML element that has been sanitized.
|
SanitizationWarning.Builder |
reason(SanitizationWarningReason reason)
Required.
|
SanitizationWarning.Builder |
reason(String reason)
Required.
|
copy
applyMutation, build
SanitizationWarning.Builder attributeName(String attributeName)
attributeName
- The name of the XML attribute that has been sanitized.SanitizationWarning.Builder elementName(String elementName)
elementName
- The name of the XML element that has been sanitized.SanitizationWarning.Builder reason(String reason)
reason
- Required. The reason for which the XML elements or attributes were sanitized. Possible values:
DISALLOWED_ELEMENT_REMOVED, DISALLOWED_ATTRIBUTE_REMOVED, INVALID_ATTRIBUTE_VALUE_REMOVED
DISALLOWED_ELEMENT_REMOVED shows that the provided element isn't allowed and has been removed.
DISALLOWED_ATTRIBUTE_REMOVED shows that the provided attribute isn't allowed and has been removed.
INVALID_ATTRIBUTE_VALUE_REMOVED shows that the provided value for the attribute isn't allowed and has
been removed.SanitizationWarningReason
,
SanitizationWarningReason
SanitizationWarning.Builder reason(SanitizationWarningReason reason)
reason
- Required. The reason for which the XML elements or attributes were sanitized. Possible values:
DISALLOWED_ELEMENT_REMOVED, DISALLOWED_ATTRIBUTE_REMOVED, INVALID_ATTRIBUTE_VALUE_REMOVED
DISALLOWED_ELEMENT_REMOVED shows that the provided element isn't allowed and has been removed.
DISALLOWED_ATTRIBUTE_REMOVED shows that the provided attribute isn't allowed and has been removed.
INVALID_ATTRIBUTE_VALUE_REMOVED shows that the provided value for the attribute isn't allowed and has
been removed.SanitizationWarningReason
,
SanitizationWarningReason
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.