@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PropertyValidationExceptionProperty extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about why a property is not valid.
| Constructor and Description |
|---|
PropertyValidationExceptionProperty() |
| Modifier and Type | Method and Description |
|---|---|
PropertyValidationExceptionProperty |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
A message describing why the property is not valid.
|
String |
getPropertyPath()
The full property path.
|
String |
getReason()
Why the property is not valid.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setMessage(String message)
A message describing why the property is not valid.
|
void |
setPropertyPath(String propertyPath)
The full property path.
|
void |
setReason(String reason)
Why the property is not valid.
|
String |
toString()
Returns a string representation of this object.
|
PropertyValidationExceptionProperty |
withMessage(String message)
A message describing why the property is not valid.
|
PropertyValidationExceptionProperty |
withPropertyPath(String propertyPath)
The full property path.
|
PropertyValidationExceptionProperty |
withReason(PropertyValidationExceptionReason reason)
Why the property is not valid.
|
PropertyValidationExceptionProperty |
withReason(String reason)
Why the property is not valid.
|
public void setPropertyPath(String propertyPath)
The full property path.
propertyPath - The full property path.public String getPropertyPath()
The full property path.
public PropertyValidationExceptionProperty withPropertyPath(String propertyPath)
The full property path.
propertyPath - The full property path.public void setReason(String reason)
Why the property is not valid.
reason - Why the property is not valid.PropertyValidationExceptionReasonpublic String getReason()
Why the property is not valid.
PropertyValidationExceptionReasonpublic PropertyValidationExceptionProperty withReason(String reason)
Why the property is not valid.
reason - Why the property is not valid.PropertyValidationExceptionReasonpublic PropertyValidationExceptionProperty withReason(PropertyValidationExceptionReason reason)
Why the property is not valid.
reason - Why the property is not valid.PropertyValidationExceptionReasonpublic void setMessage(String message)
A message describing why the property is not valid.
message - A message describing why the property is not valid.public String getMessage()
A message describing why the property is not valid.
public PropertyValidationExceptionProperty withMessage(String message)
A message describing why the property is not valid.
message - A message describing why the property is not valid.public String toString()
toString in class ObjectObject.toString()public PropertyValidationExceptionProperty clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.