@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchPutPropertyError extends Object implements Serializable, Cloneable, StructuredPojo
An error returned by the BatchPutProperty
action.
Constructor and Description |
---|
BatchPutPropertyError() |
Modifier and Type | Method and Description |
---|---|
BatchPutPropertyError |
clone() |
boolean |
equals(Object obj) |
PropertyValueEntry |
getEntry()
An object that contains information about errors returned by the
BatchPutProperty action. |
String |
getErrorCode()
The error code.
|
String |
getErrorMessage()
The error message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEntry(PropertyValueEntry entry)
An object that contains information about errors returned by the
BatchPutProperty action. |
void |
setErrorCode(String errorCode)
The error code.
|
void |
setErrorMessage(String errorMessage)
The error message.
|
String |
toString()
Returns a string representation of this object.
|
BatchPutPropertyError |
withEntry(PropertyValueEntry entry)
An object that contains information about errors returned by the
BatchPutProperty action. |
BatchPutPropertyError |
withErrorCode(String errorCode)
The error code.
|
BatchPutPropertyError |
withErrorMessage(String errorMessage)
The error message.
|
public void setErrorCode(String errorCode)
The error code.
errorCode
- The error code.public String getErrorCode()
The error code.
public BatchPutPropertyError withErrorCode(String errorCode)
The error code.
errorCode
- The error code.public void setErrorMessage(String errorMessage)
The error message.
errorMessage
- The error message.public String getErrorMessage()
The error message.
public BatchPutPropertyError withErrorMessage(String errorMessage)
The error message.
errorMessage
- The error message.public void setEntry(PropertyValueEntry entry)
An object that contains information about errors returned by the BatchPutProperty
action.
entry
- An object that contains information about errors returned by the BatchPutProperty
action.public PropertyValueEntry getEntry()
An object that contains information about errors returned by the BatchPutProperty
action.
BatchPutProperty
action.public BatchPutPropertyError withEntry(PropertyValueEntry entry)
An object that contains information about errors returned by the BatchPutProperty
action.
entry
- An object that contains information about errors returned by the BatchPutProperty
action.public String toString()
toString
in class Object
Object.toString()
public BatchPutPropertyError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.