@Generated(value="software.amazon.awssdk:codegen") public final class TestGridSession extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TestGridSession.Builder,TestGridSession>
A TestGridSession is a single instance of a browser launched from the URL provided by a call to CreateTestGridUrl.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TestGridSession.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The ARN of the session.
|
Double |
billingMinutes()
The number of billed minutes that were used for this session.
|
static TestGridSession.Builder |
builder() |
Instant |
created()
The time that the session was started.
|
Instant |
ended()
The time the session ended.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
String |
seleniumProperties()
A JSON object of options and parameters passed to the Selenium WebDriver.
|
static Class<? extends TestGridSession.Builder> |
serializableBuilderClass() |
TestGridSessionStatus |
status()
The state of the session.
|
String |
statusAsString()
The state of the session.
|
TestGridSession.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The ARN of the session.
public final TestGridSessionStatus status()
The state of the session.
If the service returns an enum value that is not available in the current SDK version, status will
return TestGridSessionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
TestGridSessionStatuspublic final String statusAsString()
The state of the session.
If the service returns an enum value that is not available in the current SDK version, status will
return TestGridSessionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
TestGridSessionStatuspublic final Instant created()
The time that the session was started.
public final Instant ended()
The time the session ended.
public final Double billingMinutes()
The number of billed minutes that were used for this session.
public final String seleniumProperties()
A JSON object of options and parameters passed to the Selenium WebDriver.
public TestGridSession.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TestGridSession.Builder,TestGridSession>public static TestGridSession.Builder builder()
public static Class<? extends TestGridSession.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.