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) Indicates whether some other object is "equal to" this one by SDK fields.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> Take this object and create a builder that contains all of the current property values of this object.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 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
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<BrowserActionResult.Builder,BrowserActionResult> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
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- Returns:
- The mapping between the field name and its corresponding field.
-