public class ValidationExceptionField
extends java.lang.Object
implements java.io.Serializable
The input failed to meet the constraints specified by the AWS service in a specified field.
Constructor and Description |
---|
ValidationExceptionField() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getMessage()
A message with the reason for the validation exception error.
|
java.lang.String |
getName()
The field name where the invalid entry was detected.
|
int |
hashCode() |
void |
setMessage(java.lang.String message)
A message with the reason for the validation exception error.
|
void |
setName(java.lang.String name)
The field name where the invalid entry was detected.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ValidationExceptionField |
withMessage(java.lang.String message)
A message with the reason for the validation exception error.
|
ValidationExceptionField |
withName(java.lang.String name)
The field name where the invalid entry was detected.
|
public java.lang.String getMessage()
A message with the reason for the validation exception error.
A message with the reason for the validation exception error.
public void setMessage(java.lang.String message)
A message with the reason for the validation exception error.
message
- A message with the reason for the validation exception error.
public ValidationExceptionField withMessage(java.lang.String message)
A message with the reason for the validation exception error.
Returns a reference to this object so that method calls can be chained together.
message
- A message with the reason for the validation exception error.
public java.lang.String getName()
The field name where the invalid entry was detected.
The field name where the invalid entry was detected.
public void setName(java.lang.String name)
The field name where the invalid entry was detected.
name
- The field name where the invalid entry was detected.
public ValidationExceptionField withName(java.lang.String name)
The field name where the invalid entry was detected.
Returns a reference to this object so that method calls can be chained together.
name
- The field name where the invalid entry was detected.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.