Interface ActionParameters.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<ActionParameters.Builder,,- ActionParameters> - SdkBuilder<ActionParameters.Builder,,- ActionParameters> - SdkPojo
- Enclosing class:
- ActionParameters
- 
Method SummaryModifier and TypeMethodDescriptiondefault ActionParameters.Builderanchor(Consumer<ComponentProperty.Builder> anchor) The HTML anchor link to the location to open.anchor(ComponentProperty anchor) The HTML anchor link to the location to open.fields(Map<String, ComponentProperty> fields) A dictionary of key-value pairs mapping Amplify Studio properties to fields in a data model.default ActionParameters.Builderglobal(Consumer<ComponentProperty.Builder> global) Specifies whether the user should be signed out globally.global(ComponentProperty global) Specifies whether the user should be signed out globally.default ActionParameters.BuilderThe unique ID of the component that theActionParametersapply to.id(ComponentProperty id) The unique ID of the component that theActionParametersapply to.The name of the data model.default ActionParameters.BuilderA key-value pair that specifies the state property name and its initial value.A key-value pair that specifies the state property name and its initial value.default ActionParameters.Buildertarget(Consumer<ComponentProperty.Builder> target) The element within the same component to modify when the action occurs.target(ComponentProperty target) The element within the same component to modify when the action occurs.default ActionParameters.BuilderThe type of navigation action.type(ComponentProperty type) The type of navigation action.default ActionParameters.BuilderThe URL to the location to open.url(ComponentProperty url) The URL to the location to open.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
typeThe type of navigation action. Valid values are urlandanchor. This value is required for a navigation action.- Parameters:
- type- The type of navigation action. Valid values are- urland- anchor. This value is required for a navigation action.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
typeThe type of navigation action. Valid values are This is a convenience method that creates an instance of theurlandanchor. This value is required for a navigation action.ComponentProperty.Builderavoiding the need to create one manually viaComponentProperty.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totype(ComponentProperty).- Parameters:
- type- a consumer that will call methods on- ComponentProperty.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
urlThe URL to the location to open. Specify this value for a navigation action. - Parameters:
- url- The URL to the location to open. Specify this value for a navigation action.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
urlThe URL to the location to open. Specify this value for a navigation action. This is a convenience method that creates an instance of theComponentProperty.Builderavoiding the need to create one manually viaComponentProperty.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tourl(ComponentProperty).- Parameters:
- url- a consumer that will call methods on- ComponentProperty.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
anchorThe HTML anchor link to the location to open. Specify this value for a navigation action. - Parameters:
- anchor- The HTML anchor link to the location to open. Specify this value for a navigation action.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
anchorThe 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.Builderavoiding the need to create one manually viaComponentProperty.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toanchor(ComponentProperty).- Parameters:
- anchor- a consumer that will call methods on- ComponentProperty.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
targetThe element within the same component to modify when the action occurs. - Parameters:
- target- The element within the same component to modify when the action occurs.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
targetThe element within the same component to modify when the action occurs. This is a convenience method that creates an instance of theComponentProperty.Builderavoiding the need to create one manually viaComponentProperty.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totarget(ComponentProperty).- Parameters:
- target- a consumer that will call methods on- ComponentProperty.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
globalSpecifies whether the user should be signed out globally. Specify this value for an auth sign out action. - Parameters:
- global- Specifies whether the user should be signed out globally. Specify this value for an auth sign out action.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
globalSpecifies 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.Builderavoiding the need to create one manually viaComponentProperty.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toglobal(ComponentProperty).- Parameters:
- global- a consumer that will call methods on- ComponentProperty.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
modelThe name of the data model. Use when the action performs an operation on an Amplify DataStore model. - Parameters:
- model- The name of the data model. Use when the action performs an operation on an Amplify DataStore model.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
idThe unique ID of the component that the ActionParametersapply to.- Parameters:
- id- The unique ID of the component that the- ActionParametersapply to.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
idThe unique ID of the component that the This is a convenience method that creates an instance of theActionParametersapply to.ComponentProperty.Builderavoiding the need to create one manually viaComponentProperty.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toid(ComponentProperty).- Parameters:
- id- a consumer that will call methods on- ComponentProperty.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
fieldsA 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. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
stateA key-value pair that specifies the state property name and its initial value. - Parameters:
- state- A key-value pair that specifies the state property name and its initial value.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
stateA key-value pair that specifies the state property name and its initial value. This is a convenience method that creates an instance of theMutationActionSetStateParameter.Builderavoiding the need to create one manually viaMutationActionSetStateParameter.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostate(MutationActionSetStateParameter).- Parameters:
- state- a consumer that will call methods on- MutationActionSetStateParameter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-