public class PropertyValidationExceptionProperty
extends java.lang.Object
implements java.io.Serializable
Contains information about why a property is not valid.
| Constructor and Description |
|---|
PropertyValidationExceptionProperty() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getMessage()
A message describing why the property is not valid.
|
java.lang.String |
getPropertyPath()
The full property path.
|
java.lang.String |
getReason()
Why the property is not valid.
|
int |
hashCode() |
void |
setMessage(java.lang.String message)
A message describing why the property is not valid.
|
void |
setPropertyPath(java.lang.String propertyPath)
The full property path.
|
void |
setReason(PropertyValidationExceptionReason reason)
Why the property is not valid.
|
void |
setReason(java.lang.String reason)
Why the property is not valid.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PropertyValidationExceptionProperty |
withMessage(java.lang.String message)
A message describing why the property is not valid.
|
PropertyValidationExceptionProperty |
withPropertyPath(java.lang.String propertyPath)
The full property path.
|
PropertyValidationExceptionProperty |
withReason(PropertyValidationExceptionReason reason)
Why the property is not valid.
|
PropertyValidationExceptionProperty |
withReason(java.lang.String reason)
Why the property is not valid.
|
public java.lang.String getPropertyPath()
The full property path.
The full property path.
public void setPropertyPath(java.lang.String propertyPath)
The full property path.
propertyPath - The full property path.
public PropertyValidationExceptionProperty withPropertyPath(java.lang.String propertyPath)
The full property path.
Returns a reference to this object so that method calls can be chained together.
propertyPath - The full property path.
public java.lang.String getReason()
Why the property is not valid.
Constraints:
Allowed Values: INVALID_FORMAT, UNIQUE_CONSTRAINT_VIOLATED,
REFERENCED_RESOURCE_NOT_FOUND, RESOURCE_NAME_ALREADY_EXISTS,
REQUIRED_PROPERTY_MISSING, NOT_SUPPORTED
Why the property is not valid.
PropertyValidationExceptionReasonpublic void setReason(java.lang.String reason)
Why the property is not valid.
Constraints:
Allowed Values: INVALID_FORMAT, UNIQUE_CONSTRAINT_VIOLATED,
REFERENCED_RESOURCE_NOT_FOUND, RESOURCE_NAME_ALREADY_EXISTS,
REQUIRED_PROPERTY_MISSING, NOT_SUPPORTED
reason - Why the property is not valid.
PropertyValidationExceptionReasonpublic PropertyValidationExceptionProperty withReason(java.lang.String reason)
Why the property is not valid.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: INVALID_FORMAT, UNIQUE_CONSTRAINT_VIOLATED,
REFERENCED_RESOURCE_NOT_FOUND, RESOURCE_NAME_ALREADY_EXISTS,
REQUIRED_PROPERTY_MISSING, NOT_SUPPORTED
reason - Why the property is not valid.
PropertyValidationExceptionReasonpublic void setReason(PropertyValidationExceptionReason reason)
Why the property is not valid.
Constraints:
Allowed Values: INVALID_FORMAT, UNIQUE_CONSTRAINT_VIOLATED,
REFERENCED_RESOURCE_NOT_FOUND, RESOURCE_NAME_ALREADY_EXISTS,
REQUIRED_PROPERTY_MISSING, NOT_SUPPORTED
reason - Why the property is not valid.
PropertyValidationExceptionReasonpublic PropertyValidationExceptionProperty withReason(PropertyValidationExceptionReason reason)
Why the property is not valid.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: INVALID_FORMAT, UNIQUE_CONSTRAINT_VIOLATED,
REFERENCED_RESOURCE_NOT_FOUND, RESOURCE_NAME_ALREADY_EXISTS,
REQUIRED_PROPERTY_MISSING, NOT_SUPPORTED
reason - Why the property is not valid.
PropertyValidationExceptionReasonpublic java.lang.String getMessage()
A message describing why the property is not valid.
A message describing why the property is not valid.
public void setMessage(java.lang.String message)
A message describing why the property is not valid.
message - A message describing why the property is not valid.
public PropertyValidationExceptionProperty withMessage(java.lang.String message)
A message describing why the property is not valid.
Returns a reference to this object so that method calls can be chained together.
message - A message describing why the property is not valid.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object