@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)
Marshalls this structured data using the given
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)
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.SanitizationWarningReasonpublic String getReason()
SanitizationWarningReasonpublic SanitizationWarning withReason(String reason)
reason - Required. The reason for which the XML elements or attributes were sanitized.SanitizationWarningReasonpublic SanitizationWarning withReason(SanitizationWarningReason reason)
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)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.