Class TestGridSession
- java.lang.Object
-
- software.amazon.awssdk.services.devicefarm.model.TestGridSession
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TestGridSession.Builder,TestGridSession>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTestGridSession.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The ARN of the session.DoublebillingMinutes()The number of billed minutes that were used for this session.static TestGridSession.Builderbuilder()Instantcreated()The time that the session was started.Instantended()The time the session ended.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()StringseleniumProperties()A JSON object of options and parameters passed to the Selenium WebDriver.static Class<? extends TestGridSession.Builder>serializableBuilderClass()TestGridSessionStatusstatus()The state of the session.StringstatusAsString()The state of the session.TestGridSession.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
arn
public final String arn()
The ARN of the session.
- Returns:
- The ARN of the session.
-
status
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,
statuswill returnTestGridSessionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The state of the session.
- See Also:
TestGridSessionStatus
-
statusAsString
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,
statuswill returnTestGridSessionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The state of the session.
- See Also:
TestGridSessionStatus
-
created
public final Instant created()
The time that the session was started.
- Returns:
- The time that the session was started.
-
ended
public final Instant ended()
The time the session ended.
- Returns:
- The time the session ended.
-
billingMinutes
public final Double billingMinutes()
The number of billed minutes that were used for this session.
- Returns:
- The number of billed minutes that were used for this session.
-
seleniumProperties
public final String seleniumProperties()
A JSON object of options and parameters passed to the Selenium WebDriver.
- Returns:
- A JSON object of options and parameters passed to the Selenium WebDriver.
-
toBuilder
public TestGridSession.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TestGridSession.Builder,TestGridSession>
-
builder
public static TestGridSession.Builder builder()
-
serializableBuilderClass
public static Class<? extends TestGridSession.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-