@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TestGridSession extends Object implements Serializable, Cloneable, StructuredPojo
A TestGridSession is a single instance of a browser launched from the URL provided by a call to CreateTestGridUrl.
Constructor and Description |
---|
TestGridSession() |
Modifier and Type | Method and Description |
---|---|
TestGridSession |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the session.
|
Double |
getBillingMinutes()
The number of billed minutes that were used for this session.
|
Date |
getCreated()
The time that the session was started.
|
Date |
getEnded()
The time the session ended.
|
String |
getSeleniumProperties()
A JSON object of options and parameters passed to the Selenium WebDriver.
|
String |
getStatus()
The state of the session.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN of the session.
|
void |
setBillingMinutes(Double billingMinutes)
The number of billed minutes that were used for this session.
|
void |
setCreated(Date created)
The time that the session was started.
|
void |
setEnded(Date ended)
The time the session ended.
|
void |
setSeleniumProperties(String seleniumProperties)
A JSON object of options and parameters passed to the Selenium WebDriver.
|
void |
setStatus(String status)
The state of the session.
|
String |
toString()
Returns a string representation of this object.
|
TestGridSession |
withArn(String arn)
The ARN of the session.
|
TestGridSession |
withBillingMinutes(Double billingMinutes)
The number of billed minutes that were used for this session.
|
TestGridSession |
withCreated(Date created)
The time that the session was started.
|
TestGridSession |
withEnded(Date ended)
The time the session ended.
|
TestGridSession |
withSeleniumProperties(String seleniumProperties)
A JSON object of options and parameters passed to the Selenium WebDriver.
|
TestGridSession |
withStatus(String status)
The state of the session.
|
TestGridSession |
withStatus(TestGridSessionStatus status)
The state of the session.
|
public void setArn(String arn)
The ARN of the session.
arn
- The ARN of the session.public String getArn()
The ARN of the session.
public TestGridSession withArn(String arn)
The ARN of the session.
arn
- The ARN of the session.public void setStatus(String status)
The state of the session.
status
- The state of the session.TestGridSessionStatus
public String getStatus()
The state of the session.
TestGridSessionStatus
public TestGridSession withStatus(String status)
The state of the session.
status
- The state of the session.TestGridSessionStatus
public TestGridSession withStatus(TestGridSessionStatus status)
The state of the session.
status
- The state of the session.TestGridSessionStatus
public void setCreated(Date created)
The time that the session was started.
created
- The time that the session was started.public Date getCreated()
The time that the session was started.
public TestGridSession withCreated(Date created)
The time that the session was started.
created
- The time that the session was started.public void setEnded(Date ended)
The time the session ended.
ended
- The time the session ended.public Date getEnded()
The time the session ended.
public TestGridSession withEnded(Date ended)
The time the session ended.
ended
- The time the session ended.public void setBillingMinutes(Double billingMinutes)
The number of billed minutes that were used for this session.
billingMinutes
- The number of billed minutes that were used for this session.public Double getBillingMinutes()
The number of billed minutes that were used for this session.
public TestGridSession withBillingMinutes(Double billingMinutes)
The number of billed minutes that were used for this session.
billingMinutes
- The number of billed minutes that were used for this session.public void setSeleniumProperties(String seleniumProperties)
A JSON object of options and parameters passed to the Selenium WebDriver.
seleniumProperties
- A JSON object of options and parameters passed to the Selenium WebDriver.public String getSeleniumProperties()
A JSON object of options and parameters passed to the Selenium WebDriver.
public TestGridSession withSeleniumProperties(String seleniumProperties)
A JSON object of options and parameters passed to the Selenium WebDriver.
seleniumProperties
- A JSON object of options and parameters passed to the Selenium WebDriver.public String toString()
toString
in class Object
Object.toString()
public TestGridSession clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.