@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)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
public 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()
.
TestGridSessionStatus
public 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()
.
TestGridSessionStatus
public 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()
ToCopyableBuilder
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)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.