Class: Aws::Continuum::Types::ConditionValue
- Inherits:
-
Struct
- Object
- Struct
- Aws::Continuum::Types::ConditionValue
- Defined in:
- gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb
Overview
ConditionValue is a union - when making an API calls you must set exactly one of the members.
ConditionValue is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ConditionValue corresponding to the set member.
The value of a condition. Specify exactly one member, matching the
signal and operator: packageIdentity for PACKAGE_IDENTITY with
MATCHES, severity for INSPECTOR_SEVERITY with AT_LEAST, EQUALS, or
NOT_EQUALS, stringValue for EQUALS or NOT_EQUALS, and stringSet
for IN.
Defined Under Namespace
Classes: PackageIdentity, Severity, StringSet, StringValue, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#package_identity ⇒ Types::PackageIdentity
The package to match, for the PACKAGE_IDENTITY signal.
-
#severity ⇒ String
An Amazon Inspector severity, for the INSPECTOR_SEVERITY signal.
-
#string_set ⇒ Array<String>
A set of up to 20 values, for the IN operator.
-
#string_value ⇒ String
A single value, for the EQUALS and NOT_EQUALS operators.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#package_identity ⇒ Types::PackageIdentity
The package to match, for the PACKAGE_IDENTITY signal.
418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 418 class ConditionValue < Struct.new( :package_identity, :severity, :string_value, :string_set, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class PackageIdentity < ConditionValue; end class Severity < ConditionValue; end class StringValue < ConditionValue; end class StringSet < ConditionValue; end class Unknown < ConditionValue; end end |
#severity ⇒ String
An Amazon Inspector severity, for the INSPECTOR_SEVERITY signal.
418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 418 class ConditionValue < Struct.new( :package_identity, :severity, :string_value, :string_set, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class PackageIdentity < ConditionValue; end class Severity < ConditionValue; end class StringValue < ConditionValue; end class StringSet < ConditionValue; end class Unknown < ConditionValue; end end |
#string_set ⇒ Array<String>
A set of up to 20 values, for the IN operator.
418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 418 class ConditionValue < Struct.new( :package_identity, :severity, :string_value, :string_set, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class PackageIdentity < ConditionValue; end class Severity < ConditionValue; end class StringValue < ConditionValue; end class StringSet < ConditionValue; end class Unknown < ConditionValue; end end |
#string_value ⇒ String
A single value, for the EQUALS and NOT_EQUALS operators.
418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 418 class ConditionValue < Struct.new( :package_identity, :severity, :string_value, :string_set, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class PackageIdentity < ConditionValue; end class Severity < ConditionValue; end class StringValue < ConditionValue; end class StringSet < ConditionValue; end class Unknown < ConditionValue; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
418 419 420 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 418 def unknown @unknown end |