@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GremlinQueryStatusAttributes extends Object implements Serializable, Cloneable, StructuredPojo
Contains status components of a Gremlin query.
Constructor and Description |
---|
GremlinQueryStatusAttributes() |
Modifier and Type | Method and Description |
---|---|
GremlinQueryStatusAttributes |
clone() |
boolean |
equals(Object obj) |
Integer |
getCode()
The HTTP response code returned fro the Gremlin query request..
|
String |
getMessage()
The status message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCode(Integer code)
The HTTP response code returned fro the Gremlin query request..
|
void |
setMessage(String message)
The status message.
|
String |
toString()
Returns a string representation of this object.
|
GremlinQueryStatusAttributes |
withCode(Integer code)
The HTTP response code returned fro the Gremlin query request..
|
GremlinQueryStatusAttributes |
withMessage(String message)
The status message.
|
public void setMessage(String message)
The status message.
message
- The status message.public String getMessage()
The status message.
public GremlinQueryStatusAttributes withMessage(String message)
The status message.
message
- The status message.public void setCode(Integer code)
The HTTP response code returned fro the Gremlin query request..
code
- The HTTP response code returned fro the Gremlin query request..public Integer getCode()
The HTTP response code returned fro the Gremlin query request..
public GremlinQueryStatusAttributes withCode(Integer code)
The HTTP response code returned fro the Gremlin query request..
code
- The HTTP response code returned fro the Gremlin query request..public String toString()
toString
in class Object
Object.toString()
public GremlinQueryStatusAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.