Class BrowserActionResult
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BrowserActionResult.Builder,BrowserActionResult>
The result of a browser action execution. Exactly one member is set, matching the action that was performed.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic enum -
Method Summary
Modifier and TypeMethodDescriptionstatic BrowserActionResult.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) static BrowserActionResultfromKeyPress(Consumer<KeyPressResult.Builder> keyPress) Create an instance of this class withkeyPress()initialized to the given value.static BrowserActionResultfromKeyPress(KeyPressResult keyPress) Create an instance of this class withkeyPress()initialized to the given value.static BrowserActionResultfromKeyShortcut(Consumer<KeyShortcutResult.Builder> keyShortcut) Create an instance of this class withkeyShortcut()initialized to the given value.static BrowserActionResultfromKeyShortcut(KeyShortcutResult keyShortcut) Create an instance of this class withkeyShortcut()initialized to the given value.static BrowserActionResultfromKeyType(Consumer<KeyTypeResult.Builder> keyType) Create an instance of this class withkeyType()initialized to the given value.static BrowserActionResultfromKeyType(KeyTypeResult keyType) Create an instance of this class withkeyType()initialized to the given value.static BrowserActionResultfromMouseClick(Consumer<MouseClickResult.Builder> mouseClick) Create an instance of this class withmouseClick()initialized to the given value.static BrowserActionResultfromMouseClick(MouseClickResult mouseClick) Create an instance of this class withmouseClick()initialized to the given value.static BrowserActionResultfromMouseDrag(Consumer<MouseDragResult.Builder> mouseDrag) Create an instance of this class withmouseDrag()initialized to the given value.static BrowserActionResultfromMouseDrag(MouseDragResult mouseDrag) Create an instance of this class withmouseDrag()initialized to the given value.static BrowserActionResultfromMouseMove(Consumer<MouseMoveResult.Builder> mouseMove) Create an instance of this class withmouseMove()initialized to the given value.static BrowserActionResultfromMouseMove(MouseMoveResult mouseMove) Create an instance of this class withmouseMove()initialized to the given value.static BrowserActionResultfromMouseScroll(Consumer<MouseScrollResult.Builder> mouseScroll) Create an instance of this class withmouseScroll()initialized to the given value.static BrowserActionResultfromMouseScroll(MouseScrollResult mouseScroll) Create an instance of this class withmouseScroll()initialized to the given value.static BrowserActionResultfromScreenshot(Consumer<ScreenshotResult.Builder> screenshot) Create an instance of this class withscreenshot()initialized to the given value.static BrowserActionResultfromScreenshot(ScreenshotResult screenshot) Create an instance of this class withscreenshot()initialized to the given value.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final KeyPressResultkeyPress()The result of a key press action.final KeyShortcutResultThe result of a key shortcut action.final KeyTypeResultkeyType()The result of a key type action.final MouseClickResultThe result of a mouse click action.final MouseDragResultThe result of a mouse drag action.final MouseMoveResultThe result of a mouse move action.final MouseScrollResultThe result of a mouse scroll action.final ScreenshotResultThe result of a screenshot action.static Class<? extends BrowserActionResult.Builder>final StringtoString()Returns a string representation of this object.type()Retrieve an enum value representing which member of this object is populated.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
mouseClick
The result of a mouse click action.
- Returns:
- The result of a mouse click action.
-
mouseMove
The result of a mouse move action.
- Returns:
- The result of a mouse move action.
-
mouseDrag
The result of a mouse drag action.
- Returns:
- The result of a mouse drag action.
-
mouseScroll
The result of a mouse scroll action.
- Returns:
- The result of a mouse scroll action.
-
keyType
The result of a key type action.
- Returns:
- The result of a key type action.
-
keyPress
The result of a key press action.
- Returns:
- The result of a key press action.
-
keyShortcut
The result of a key shortcut action.
- Returns:
- The result of a key shortcut action.
-
screenshot
The result of a screenshot action.
- Returns:
- The result of a screenshot action.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<BrowserActionResult.Builder,BrowserActionResult>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
fromMouseClick
Create an instance of this class withmouseClick()initialized to the given value.The result of a mouse click action.
- Parameters:
mouseClick- The result of a mouse click action.
-
fromMouseClick
Create an instance of this class withmouseClick()initialized to the given value.The result of a mouse click action.
- Parameters:
mouseClick- The result of a mouse click action.
-
fromMouseMove
Create an instance of this class withmouseMove()initialized to the given value.The result of a mouse move action.
- Parameters:
mouseMove- The result of a mouse move action.
-
fromMouseMove
Create an instance of this class withmouseMove()initialized to the given value.The result of a mouse move action.
- Parameters:
mouseMove- The result of a mouse move action.
-
fromMouseDrag
Create an instance of this class withmouseDrag()initialized to the given value.The result of a mouse drag action.
- Parameters:
mouseDrag- The result of a mouse drag action.
-
fromMouseDrag
Create an instance of this class withmouseDrag()initialized to the given value.The result of a mouse drag action.
- Parameters:
mouseDrag- The result of a mouse drag action.
-
fromMouseScroll
Create an instance of this class withmouseScroll()initialized to the given value.The result of a mouse scroll action.
- Parameters:
mouseScroll- The result of a mouse scroll action.
-
fromMouseScroll
Create an instance of this class withmouseScroll()initialized to the given value.The result of a mouse scroll action.
- Parameters:
mouseScroll- The result of a mouse scroll action.
-
fromKeyType
Create an instance of this class withkeyType()initialized to the given value.The result of a key type action.
- Parameters:
keyType- The result of a key type action.
-
fromKeyType
Create an instance of this class withkeyType()initialized to the given value.The result of a key type action.
- Parameters:
keyType- The result of a key type action.
-
fromKeyPress
Create an instance of this class withkeyPress()initialized to the given value.The result of a key press action.
- Parameters:
keyPress- The result of a key press action.
-
fromKeyPress
Create an instance of this class withkeyPress()initialized to the given value.The result of a key press action.
- Parameters:
keyPress- The result of a key press action.
-
fromKeyShortcut
Create an instance of this class withkeyShortcut()initialized to the given value.The result of a key shortcut action.
- Parameters:
keyShortcut- The result of a key shortcut action.
-
fromKeyShortcut
Create an instance of this class withkeyShortcut()initialized to the given value.The result of a key shortcut action.
- Parameters:
keyShortcut- The result of a key shortcut action.
-
fromScreenshot
Create an instance of this class withscreenshot()initialized to the given value.The result of a screenshot action.
- Parameters:
screenshot- The result of a screenshot action.
-
fromScreenshot
Create an instance of this class withscreenshot()initialized to the given value.The result of a screenshot action.
- Parameters:
screenshot- The result of a screenshot action.
-
type
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beBrowserActionResult.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beBrowserActionResult.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set. -
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-