@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MessageDetail extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
MessageDetail() |
Modifier and Type | Method and Description |
---|---|
MessageDetail |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The error code.
|
String |
getMessage()
The specific error message that MediaConnect returns to help you understand the reason that the request did not
succeed.
|
String |
getResourceName()
The name of the resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCode(String code)
The error code.
|
void |
setMessage(String message)
The specific error message that MediaConnect returns to help you understand the reason that the request did not
succeed.
|
void |
setResourceName(String resourceName)
The name of the resource.
|
String |
toString()
Returns a string representation of this object.
|
MessageDetail |
withCode(String code)
The error code.
|
MessageDetail |
withMessage(String message)
The specific error message that MediaConnect returns to help you understand the reason that the request did not
succeed.
|
MessageDetail |
withResourceName(String resourceName)
The name of the resource.
|
public void setCode(String code)
code
- The error code.public String getCode()
public MessageDetail withCode(String code)
code
- The error code.public void setMessage(String message)
message
- The specific error message that MediaConnect returns to help you understand the reason that the request
did not succeed.public String getMessage()
public MessageDetail withMessage(String message)
message
- The specific error message that MediaConnect returns to help you understand the reason that the request
did not succeed.public void setResourceName(String resourceName)
resourceName
- The name of the resource.public String getResourceName()
public MessageDetail withResourceName(String resourceName)
resourceName
- The name of the resource.public String toString()
toString
in class Object
Object.toString()
public MessageDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.