@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SanitizationWarning extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
SanitizationWarning() |
| Modifier and Type | Method and Description |
|---|---|
SanitizationWarning |
clone() |
boolean |
equals(Object obj) |
String |
getAttributeName()
The name of the XML attribute that has been sanitized.
|
String |
getElementName()
The name of the XML element that has been sanitized.
|
String |
getReason()
Required.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAttributeName(String attributeName)
The name of the XML attribute that has been sanitized.
|
void |
setElementName(String elementName)
The name of the XML element that has been sanitized.
|
void |
setReason(String reason)
Required.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SanitizationWarning |
withAttributeName(String attributeName)
The name of the XML attribute that has been sanitized.
|
SanitizationWarning |
withElementName(String elementName)
The name of the XML element that has been sanitized.
|
SanitizationWarning |
withReason(SanitizationWarningReason reason)
Required.
|
SanitizationWarning |
withReason(String reason)
Required.
|
public void setAttributeName(String attributeName)
attributeName - The name of the XML attribute that has been sanitized.public String getAttributeName()
public SanitizationWarning withAttributeName(String attributeName)
attributeName - The name of the XML attribute that has been sanitized.public void setElementName(String elementName)
elementName - The name of the XML element that has been sanitized.public String getElementName()
public SanitizationWarning withElementName(String elementName)
elementName - The name of the XML element that has been sanitized.public void setReason(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.SanitizationWarningReasonpublic String getReason()
SanitizationWarningReasonpublic SanitizationWarning withReason(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.SanitizationWarningReasonpublic SanitizationWarning withReason(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.SanitizationWarningReasonpublic String toString()
toString in class ObjectObject.toString()public SanitizationWarning clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2018. All rights reserved.