Interface CfnForm.FormCTAProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnForm.FormCTAProperty.Jsii$Proxy
- Enclosing class:
CfnForm
@Stability(Stable)
public static interface CfnForm.FormCTAProperty
extends software.amazon.jsii.JsiiSerializable
The
FormCTA property specifies the call to action button configuration for the form.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.amplifyuibuilder.*;
FormCTAProperty formCTAProperty = FormCTAProperty.builder()
.cancel(FormButtonProperty.builder()
.children("children")
.excluded(false)
.position(FieldPositionProperty.builder()
.below("below")
.fixed("fixed")
.rightOf("rightOf")
.build())
.build())
.clear(FormButtonProperty.builder()
.children("children")
.excluded(false)
.position(FieldPositionProperty.builder()
.below("below")
.fixed("fixed")
.rightOf("rightOf")
.build())
.build())
.position("position")
.submit(FormButtonProperty.builder()
.children("children")
.excluded(false)
.position(FieldPositionProperty.builder()
.below("below")
.fixed("fixed")
.rightOf("rightOf")
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnForm.FormCTAPropertystatic final classAn implementation forCfnForm.FormCTAProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCancel
Displays a cancel button.Returns union: either
IResolvableorCfnForm.FormButtonProperty- See Also:
-
getClear
Displays a clear button.Returns union: either
IResolvableorCfnForm.FormButtonProperty- See Also:
-
getPosition
The position of the button.- See Also:
-
getSubmit
Displays a submit button.Returns union: either
IResolvableorCfnForm.FormButtonProperty- See Also:
-
builder
- Returns:
- a
CfnForm.FormCTAProperty.BuilderofCfnForm.FormCTAProperty
-