@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TestGridSessionAction extends Object implements Serializable, Cloneable, StructuredPojo
An action taken by a TestGridSession browser instance.
Constructor and Description |
---|
TestGridSessionAction() |
Modifier and Type | Method and Description |
---|---|
TestGridSessionAction |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
The action taken by the session.
|
Long |
getDuration()
The time, in milliseconds, that the action took to complete in the browser.
|
String |
getRequestMethod()
HTTP method that the browser used to make the request.
|
Date |
getStarted()
The time that the session invoked the action.
|
String |
getStatusCode()
HTTP status code returned to the browser when the action was taken.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAction(String action)
The action taken by the session.
|
void |
setDuration(Long duration)
The time, in milliseconds, that the action took to complete in the browser.
|
void |
setRequestMethod(String requestMethod)
HTTP method that the browser used to make the request.
|
void |
setStarted(Date started)
The time that the session invoked the action.
|
void |
setStatusCode(String statusCode)
HTTP status code returned to the browser when the action was taken.
|
String |
toString()
Returns a string representation of this object.
|
TestGridSessionAction |
withAction(String action)
The action taken by the session.
|
TestGridSessionAction |
withDuration(Long duration)
The time, in milliseconds, that the action took to complete in the browser.
|
TestGridSessionAction |
withRequestMethod(String requestMethod)
HTTP method that the browser used to make the request.
|
TestGridSessionAction |
withStarted(Date started)
The time that the session invoked the action.
|
TestGridSessionAction |
withStatusCode(String statusCode)
HTTP status code returned to the browser when the action was taken.
|
public void setAction(String action)
The action taken by the session.
action
- The action taken by the session.public String getAction()
The action taken by the session.
public TestGridSessionAction withAction(String action)
The action taken by the session.
action
- The action taken by the session.public void setStarted(Date started)
The time that the session invoked the action.
started
- The time that the session invoked the action.public Date getStarted()
The time that the session invoked the action.
public TestGridSessionAction withStarted(Date started)
The time that the session invoked the action.
started
- The time that the session invoked the action.public void setDuration(Long duration)
The time, in milliseconds, that the action took to complete in the browser.
duration
- The time, in milliseconds, that the action took to complete in the browser.public Long getDuration()
The time, in milliseconds, that the action took to complete in the browser.
public TestGridSessionAction withDuration(Long duration)
The time, in milliseconds, that the action took to complete in the browser.
duration
- The time, in milliseconds, that the action took to complete in the browser.public void setStatusCode(String statusCode)
HTTP status code returned to the browser when the action was taken.
statusCode
- HTTP status code returned to the browser when the action was taken.public String getStatusCode()
HTTP status code returned to the browser when the action was taken.
public TestGridSessionAction withStatusCode(String statusCode)
HTTP status code returned to the browser when the action was taken.
statusCode
- HTTP status code returned to the browser when the action was taken.public void setRequestMethod(String requestMethod)
HTTP method that the browser used to make the request.
requestMethod
- HTTP method that the browser used to make the request.public String getRequestMethod()
HTTP method that the browser used to make the request.
public TestGridSessionAction withRequestMethod(String requestMethod)
HTTP method that the browser used to make the request.
requestMethod
- HTTP method that the browser used to make the request.public String toString()
toString
in class Object
Object.toString()
public TestGridSessionAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.