Class: Aws::MainframeModernization::Types::AlternateKey

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

Overview

Defines an alternate key. This value is optional. A legacy data set might not have any alternate key defined but if those alternate keys definitions exist, provide them, as some applications will make use of them.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#allow_duplicatesBoolean

Indicates whether the alternate key values are supposed to be unique for the given data set.

Returns:

  • (Boolean)


53
54
55
56
57
58
59
60
# File 'lib/aws-sdk-mainframemodernization/types.rb', line 53

class AlternateKey < Struct.new(
  :allow_duplicates,
  :length,
  :name,
  :offset)
  SENSITIVE = []
  include Aws::Structure
end

#lengthInteger

A strictly positive integer value representing the length of the alternate key.

Returns:

  • (Integer)


53
54
55
56
57
58
59
60
# File 'lib/aws-sdk-mainframemodernization/types.rb', line 53

class AlternateKey < Struct.new(
  :allow_duplicates,
  :length,
  :name,
  :offset)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the alternate key.

Returns:

  • (String)


53
54
55
56
57
58
59
60
# File 'lib/aws-sdk-mainframemodernization/types.rb', line 53

class AlternateKey < Struct.new(
  :allow_duplicates,
  :length,
  :name,
  :offset)
  SENSITIVE = []
  include Aws::Structure
end

#offsetInteger

A positive integer value representing the offset to mark the start of the alternate key part in the record byte array.

Returns:

  • (Integer)


53
54
55
56
57
58
59
60
# File 'lib/aws-sdk-mainframemodernization/types.rb', line 53

class AlternateKey < Struct.new(
  :allow_duplicates,
  :length,
  :name,
  :offset)
  SENSITIVE = []
  include Aws::Structure
end