Class: Aws::AmplifyUIBuilder::Types::SectionalElement

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-amplifyuibuilder/types.rb

Overview

Stores the configuration information for a visual helper element for a form. A sectional element can be a header, a text block, or a divider. These elements are static and not associated with any data.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#excludedBoolean

Excludes a sectional element that was generated by default for a specified data model.

Returns:

  • (Boolean)


2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 2901

class SectionalElement < Struct.new(
  :type,
  :position,
  :text,
  :level,
  :orientation,
  :excluded)
  SENSITIVE = []
  include Aws::Structure
end

#levelInteger

Specifies the size of the font for a ‘Heading` sectional element. Valid values are `1 | 2 | 3 | 4 | 5 | 6`.

Returns:

  • (Integer)


2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 2901

class SectionalElement < Struct.new(
  :type,
  :position,
  :text,
  :level,
  :orientation,
  :excluded)
  SENSITIVE = []
  include Aws::Structure
end

#orientationString

Specifies the orientation for a ‘Divider` sectional element. Valid values are `horizontal` or `vertical`.

Returns:

  • (String)


2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 2901

class SectionalElement < Struct.new(
  :type,
  :position,
  :text,
  :level,
  :orientation,
  :excluded)
  SENSITIVE = []
  include Aws::Structure
end

#positionTypes::FieldPosition

Specifies the position of the text in a field for a ‘Text` sectional element.



2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 2901

class SectionalElement < Struct.new(
  :type,
  :position,
  :text,
  :level,
  :orientation,
  :excluded)
  SENSITIVE = []
  include Aws::Structure
end

#textString

The text for a ‘Text` sectional element.

Returns:

  • (String)


2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 2901

class SectionalElement < Struct.new(
  :type,
  :position,
  :text,
  :level,
  :orientation,
  :excluded)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of sectional element. Valid values are ‘Heading`, `Text`, and `Divider`.

Returns:

  • (String)


2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 2901

class SectionalElement < Struct.new(
  :type,
  :position,
  :text,
  :level,
  :orientation,
  :excluded)
  SENSITIVE = []
  include Aws::Structure
end