Class: Aws::AppConfigCloudExtension::Types::Constraint

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-appconfigcloudextension/lib/aws-sdk-appconfigcloudextension/types.rb

Overview

The constraint a value failed, named for the Smithy trait or rule that declares it, with what it allows.

Defined Under Namespace

Classes: Enum, Length, Pattern, Range, Required, Type, Union, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#enum ⇒ Types::EnumConstraint

The value is not one of the enum's values.



100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# File 'gems/aws-sdk-appconfigcloudextension/lib/aws-sdk-appconfigcloudextension/types.rb', line 100

class Constraint < Struct.new(
  :required,
  :type,
  :length,
  :range,
  :pattern,
  :enum,
  :union,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Required < Constraint; end
  class Type < Constraint; end
  class Length < Constraint; end
  class Range < Constraint; end
  class Pattern < Constraint; end
  class Enum < Constraint; end
  class Union < Constraint; end
  class Unknown < Constraint; end
end

#length ⇒ Types::LengthConstraint

The value's length is outside @length.



100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# File 'gems/aws-sdk-appconfigcloudextension/lib/aws-sdk-appconfigcloudextension/types.rb', line 100

class Constraint < Struct.new(
  :required,
  :type,
  :length,
  :range,
  :pattern,
  :enum,
  :union,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Required < Constraint; end
  class Type < Constraint; end
  class Length < Constraint; end
  class Range < Constraint; end
  class Pattern < Constraint; end
  class Enum < Constraint; end
  class Union < Constraint; end
  class Unknown < Constraint; end
end

#pattern ⇒ Types::PatternConstraint

The value doesn't match @pattern.



100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# File 'gems/aws-sdk-appconfigcloudextension/lib/aws-sdk-appconfigcloudextension/types.rb', line 100

class Constraint < Struct.new(
  :required,
  :type,
  :length,
  :range,
  :pattern,
  :enum,
  :union,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Required < Constraint; end
  class Type < Constraint; end
  class Length < Constraint; end
  class Range < Constraint; end
  class Pattern < Constraint; end
  class Enum < Constraint; end
  class Union < Constraint; end
  class Unknown < Constraint; end
end

#range ⇒ Types::RangeConstraint

The value is outside @range.



100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# File 'gems/aws-sdk-appconfigcloudextension/lib/aws-sdk-appconfigcloudextension/types.rb', line 100

class Constraint < Struct.new(
  :required,
  :type,
  :length,
  :range,
  :pattern,
  :enum,
  :union,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Required < Constraint; end
  class Type < Constraint; end
  class Length < Constraint; end
  class Range < Constraint; end
  class Pattern < Constraint; end
  class Enum < Constraint; end
  class Union < Constraint; end
  class Unknown < Constraint; end
end

#required ⇒ Boolean

The member is @required and missing. Always true when set.

Returns:

  • (Boolean)


100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# File 'gems/aws-sdk-appconfigcloudextension/lib/aws-sdk-appconfigcloudextension/types.rb', line 100

class Constraint < Struct.new(
  :required,
  :type,
  :length,
  :range,
  :pattern,
  :enum,
  :union,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Required < Constraint; end
  class Type < Constraint; end
  class Length < Constraint; end
  class Range < Constraint; end
  class Pattern < Constraint; end
  class Enum < Constraint; end
  class Union < Constraint; end
  class Unknown < Constraint; end
end

#type ⇒ Types::TypeConstraint

The value is not the member's type.



100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# File 'gems/aws-sdk-appconfigcloudextension/lib/aws-sdk-appconfigcloudextension/types.rb', line 100

class Constraint < Struct.new(
  :required,
  :type,
  :length,
  :range,
  :pattern,
  :enum,
  :union,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Required < Constraint; end
  class Type < Constraint; end
  class Length < Constraint; end
  class Range < Constraint; end
  class Pattern < Constraint; end
  class Enum < Constraint; end
  class Union < Constraint; end
  class Unknown < Constraint; end
end

#union ⇒ Boolean

The union sets no member or more than one. Always true when set.

Returns:

  • (Boolean)


100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# File 'gems/aws-sdk-appconfigcloudextension/lib/aws-sdk-appconfigcloudextension/types.rb', line 100

class Constraint < Struct.new(
  :required,
  :type,
  :length,
  :range,
  :pattern,
  :enum,
  :union,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Required < Constraint; end
  class Type < Constraint; end
  class Length < Constraint; end
  class Range < Constraint; end
  class Pattern < Constraint; end
  class Enum < Constraint; end
  class Union < Constraint; end
  class Unknown < Constraint; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



100
101
102
# File 'gems/aws-sdk-appconfigcloudextension/lib/aws-sdk-appconfigcloudextension/types.rb', line 100

def unknown
  @unknown
end