@Stability(value=Stable) public static final class CfnComponent.ActionParametersProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnComponent.ActionParametersProperty>
CfnComponent.ActionParametersProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnComponent.ActionParametersProperty.Builder anchor(CfnComponent.ComponentPropertyProperty anchor)
CfnComponent.ActionParametersProperty.getAnchor()anchor - The HTML anchor link to the location to open.
Specify this value for a navigation action.this@Stability(value=Stable) public CfnComponent.ActionParametersProperty.Builder anchor(IResolvable anchor)
CfnComponent.ActionParametersProperty.getAnchor()anchor - The HTML anchor link to the location to open.
Specify this value for a navigation action.this@Stability(value=Stable) public CfnComponent.ActionParametersProperty.Builder fields(Object fields)
CfnComponent.ActionParametersProperty.getFields()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.this@Stability(value=Stable) public CfnComponent.ActionParametersProperty.Builder global(CfnComponent.ComponentPropertyProperty global)
CfnComponent.ActionParametersProperty.getGlobal()global - Specifies whether the user should be signed out globally.
Specify this value for an auth sign out action.this@Stability(value=Stable) public CfnComponent.ActionParametersProperty.Builder global(IResolvable global)
CfnComponent.ActionParametersProperty.getGlobal()global - Specifies whether the user should be signed out globally.
Specify this value for an auth sign out action.this@Stability(value=Stable) public CfnComponent.ActionParametersProperty.Builder id(CfnComponent.ComponentPropertyProperty id)
CfnComponent.ActionParametersProperty.getId()id - The unique ID of the component that the `ActionParameters` apply to.this@Stability(value=Stable) public CfnComponent.ActionParametersProperty.Builder id(IResolvable id)
CfnComponent.ActionParametersProperty.getId()id - The unique ID of the component that the `ActionParameters` apply to.this@Stability(value=Stable) public CfnComponent.ActionParametersProperty.Builder model(String model)
CfnComponent.ActionParametersProperty.getModel()model - The name of the data model.
Use when the action performs an operation on an Amplify DataStore model.this@Stability(value=Stable) public CfnComponent.ActionParametersProperty.Builder state(CfnComponent.MutationActionSetStateParameterProperty state)
CfnComponent.ActionParametersProperty.getState()state - A key-value pair that specifies the state property name and its initial value.this@Stability(value=Stable) public CfnComponent.ActionParametersProperty.Builder state(IResolvable state)
CfnComponent.ActionParametersProperty.getState()state - A key-value pair that specifies the state property name and its initial value.this@Stability(value=Stable) public CfnComponent.ActionParametersProperty.Builder target(CfnComponent.ComponentPropertyProperty target)
CfnComponent.ActionParametersProperty.getTarget()target - The element within the same component to modify when the action occurs.this@Stability(value=Stable) public CfnComponent.ActionParametersProperty.Builder target(IResolvable target)
CfnComponent.ActionParametersProperty.getTarget()target - The element within the same component to modify when the action occurs.this@Stability(value=Stable) public CfnComponent.ActionParametersProperty.Builder type(CfnComponent.ComponentPropertyProperty type)
CfnComponent.ActionParametersProperty.getType()type - The type of navigation action.
Valid values are url and anchor . This value is required for a navigation action.this@Stability(value=Stable) public CfnComponent.ActionParametersProperty.Builder type(IResolvable type)
CfnComponent.ActionParametersProperty.getType()type - The type of navigation action.
Valid values are url and anchor . This value is required for a navigation action.this@Stability(value=Stable) public CfnComponent.ActionParametersProperty.Builder url(CfnComponent.ComponentPropertyProperty url)
CfnComponent.ActionParametersProperty.getUrl()url - The URL to the location to open.
Specify this value for a navigation action.this@Stability(value=Stable) public CfnComponent.ActionParametersProperty.Builder url(IResolvable url)
CfnComponent.ActionParametersProperty.getUrl()url - The URL to the location to open.
Specify this value for a navigation action.this@Stability(value=Stable) public CfnComponent.ActionParametersProperty build()
build in interface software.amazon.jsii.Builder<CfnComponent.ActionParametersProperty>CfnComponent.ActionParametersPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.