@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SanitizationWarning extends Object implements Serializable, Cloneable, StructuredPojo
Returns information about the XML element or attribute that was sanitized in the configuration.
| 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.
|
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)
The name of the XML attribute that has been sanitized.
attributeName - The name of the XML attribute that has been sanitized.public String getAttributeName()
The name of the XML attribute that has been sanitized.
public SanitizationWarning withAttributeName(String attributeName)
The name of the XML attribute that has been sanitized.
attributeName - The name of the XML attribute that has been sanitized.public void setElementName(String elementName)
The name of the XML element that has been sanitized.
elementName - The name of the XML element that has been sanitized.public String getElementName()
The name of the XML element that has been sanitized.
public SanitizationWarning withElementName(String elementName)
The name of the XML element that has been sanitized.
elementName - The name of the XML element that has been sanitized.public void setReason(String reason)
Required. The reason for which the XML elements or attributes were sanitized.
reason - Required. The reason for which the XML elements or attributes were sanitized.SanitizationWarningReasonpublic String getReason()
Required. The reason for which the XML elements or attributes were sanitized.
SanitizationWarningReasonpublic SanitizationWarning withReason(String reason)
Required. The reason for which the XML elements or attributes were sanitized.
reason - Required. The reason for which the XML elements or attributes were sanitized.SanitizationWarningReasonpublic SanitizationWarning withReason(SanitizationWarningReason reason)
Required. The reason for which the XML elements or attributes were sanitized.
reason - Required. The reason for which the XML elements or attributes were sanitized.SanitizationWarningReasonpublic String toString()
toString in class ObjectObject.toString()public SanitizationWarning clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.