public static interface ActionParameters.Builder extends SdkPojo, CopyableBuilder<ActionParameters.Builder,ActionParameters>
| Modifier and Type | Method and Description |
|---|---|
ActionParameters.Builder |
anchor(ComponentProperty anchor)
The HTML anchor link to the location to open.
|
default ActionParameters.Builder |
anchor(Consumer<ComponentProperty.Builder> anchor)
The HTML anchor link to the location to open.
|
ActionParameters.Builder |
fields(Map<String,ComponentProperty> fields)
A dictionary of key-value pairs mapping Amplify Studio properties to fields in a data model.
|
ActionParameters.Builder |
global(ComponentProperty global)
Specifies whether the user should be signed out globally.
|
default ActionParameters.Builder |
global(Consumer<ComponentProperty.Builder> global)
Specifies whether the user should be signed out globally.
|
ActionParameters.Builder |
id(ComponentProperty id)
The unique ID of the component that the
ActionParameters apply to. |
default ActionParameters.Builder |
id(Consumer<ComponentProperty.Builder> id)
The unique ID of the component that the
ActionParameters apply to. |
ActionParameters.Builder |
model(String model)
The name of the data model.
|
default ActionParameters.Builder |
state(Consumer<MutationActionSetStateParameter.Builder> state)
A key-value pair that specifies the state property name and its initial value.
|
ActionParameters.Builder |
state(MutationActionSetStateParameter state)
A key-value pair that specifies the state property name and its initial value.
|
ActionParameters.Builder |
target(ComponentProperty target)
The element within the same component to modify when the action occurs.
|
default ActionParameters.Builder |
target(Consumer<ComponentProperty.Builder> target)
The element within the same component to modify when the action occurs.
|
ActionParameters.Builder |
type(ComponentProperty type)
The type of navigation action.
|
default ActionParameters.Builder |
type(Consumer<ComponentProperty.Builder> type)
The type of navigation action.
|
ActionParameters.Builder |
url(ComponentProperty url)
The URL to the location to open.
|
default ActionParameters.Builder |
url(Consumer<ComponentProperty.Builder> url)
The URL to the location to open.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildActionParameters.Builder type(ComponentProperty type)
The type of navigation action. Valid values are url and anchor. This value is
required for a navigation action.
type - The type of navigation action. Valid values are url and anchor. This value
is required for a navigation action.default ActionParameters.Builder type(Consumer<ComponentProperty.Builder> type)
The type of navigation action. Valid values are url and anchor. This value is
required for a navigation action.
ComponentProperty.Builder avoiding the
need to create one manually via ComponentProperty.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to type(ComponentProperty).
type - a consumer that will call methods on ComponentProperty.Buildertype(ComponentProperty)ActionParameters.Builder url(ComponentProperty url)
The URL to the location to open. Specify this value for a navigation action.
url - The URL to the location to open. Specify this value for a navigation action.default ActionParameters.Builder url(Consumer<ComponentProperty.Builder> url)
The URL to the location to open. Specify this value for a navigation action.
This is a convenience method that creates an instance of theComponentProperty.Builder avoiding the
need to create one manually via ComponentProperty.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to url(ComponentProperty).
url - a consumer that will call methods on ComponentProperty.Builderurl(ComponentProperty)ActionParameters.Builder anchor(ComponentProperty anchor)
The HTML anchor link to the location to open. Specify this value for a navigation action.
anchor - The HTML anchor link to the location to open. Specify this value for a navigation action.default ActionParameters.Builder anchor(Consumer<ComponentProperty.Builder> anchor)
The HTML anchor link to the location to open. Specify this value for a navigation action.
This is a convenience method that creates an instance of theComponentProperty.Builder avoiding the
need to create one manually via ComponentProperty.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to anchor(ComponentProperty).
anchor - a consumer that will call methods on ComponentProperty.Builderanchor(ComponentProperty)ActionParameters.Builder target(ComponentProperty target)
The element within the same component to modify when the action occurs.
target - The element within the same component to modify when the action occurs.default ActionParameters.Builder target(Consumer<ComponentProperty.Builder> target)
The element within the same component to modify when the action occurs.
This is a convenience method that creates an instance of theComponentProperty.Builder avoiding the
need to create one manually via ComponentProperty.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to target(ComponentProperty).
target - a consumer that will call methods on ComponentProperty.Buildertarget(ComponentProperty)ActionParameters.Builder global(ComponentProperty global)
Specifies whether the user should be signed out globally. Specify this value for an auth sign out action.
global - Specifies whether the user should be signed out globally. Specify this value for an auth sign out
action.default ActionParameters.Builder global(Consumer<ComponentProperty.Builder> global)
Specifies whether the user should be signed out globally. Specify this value for an auth sign out action.
This is a convenience method that creates an instance of theComponentProperty.Builder avoiding the
need to create one manually via ComponentProperty.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to global(ComponentProperty).
global - a consumer that will call methods on ComponentProperty.Builderglobal(ComponentProperty)ActionParameters.Builder model(String model)
The name of the data model. Use when the action performs an operation on an Amplify DataStore model.
model - The name of the data model. Use when the action performs an operation on an Amplify DataStore model.ActionParameters.Builder id(ComponentProperty id)
The unique ID of the component that the ActionParameters apply to.
id - The unique ID of the component that the ActionParameters apply to.default ActionParameters.Builder id(Consumer<ComponentProperty.Builder> id)
The unique ID of the component that the ActionParameters apply to.
ComponentProperty.Builder avoiding the
need to create one manually via ComponentProperty.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to id(ComponentProperty).
id - a consumer that will call methods on ComponentProperty.Builderid(ComponentProperty)ActionParameters.Builder fields(Map<String,ComponentProperty> fields)
A dictionary of key-value pairs mapping Amplify Studio properties to fields in a data model. Use when the action performs an operation on an Amplify DataStore model.
fields - A dictionary of key-value pairs mapping Amplify Studio properties to fields in a data model. Use when
the action performs an operation on an Amplify DataStore model.ActionParameters.Builder state(MutationActionSetStateParameter state)
A key-value pair that specifies the state property name and its initial value.
state - A key-value pair that specifies the state property name and its initial value.default ActionParameters.Builder state(Consumer<MutationActionSetStateParameter.Builder> state)
A key-value pair that specifies the state property name and its initial value.
This is a convenience method that creates an instance of theMutationActionSetStateParameter.Builder
avoiding the need to create one manually via MutationActionSetStateParameter.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to state(MutationActionSetStateParameter).
state - a consumer that will call methods on MutationActionSetStateParameter.Builderstate(MutationActionSetStateParameter)Copyright © 2023. All rights reserved.