You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::GuardDuty::Types::Condition

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

Overview

Note:

When making an API call, you may pass Condition data as a hash:

{
  eq: ["String"],
  neq: ["String"],
  gt: 1,
  gte: 1,
  lt: 1,
  lte: 1,
  equals: ["String"],
  not_equals: ["String"],
  greater_than: 1,
  greater_than_or_equal: 1,
  less_than: 1,
  less_than_or_equal: 1,
}

Contains information about the condition.

Instance Attribute Summary collapse

Instance Attribute Details

#eqArray<String>

Represents the equal condition to be applied to a single field when querying for findings.

Returns:

  • (Array<String>)


311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 311

class Condition < Struct.new(
  :eq,
  :neq,
  :gt,
  :gte,
  :lt,
  :lte,
  :equals,
  :not_equals,
  :greater_than,
  :greater_than_or_equal,
  :less_than,
  :less_than_or_equal)
  include Aws::Structure
end

#equalsArray<String>

Represents an equal condition to be applied to a single field when querying for findings.

Returns:

  • (Array<String>)


311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 311

class Condition < Struct.new(
  :eq,
  :neq,
  :gt,
  :gte,
  :lt,
  :lte,
  :equals,
  :not_equals,
  :greater_than,
  :greater_than_or_equal,
  :less_than,
  :less_than_or_equal)
  include Aws::Structure
end

#greater_thanInteger

Represents a greater than condition to be applied to a single field when querying for findings.

Returns:

  • (Integer)


311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 311

class Condition < Struct.new(
  :eq,
  :neq,
  :gt,
  :gte,
  :lt,
  :lte,
  :equals,
  :not_equals,
  :greater_than,
  :greater_than_or_equal,
  :less_than,
  :less_than_or_equal)
  include Aws::Structure
end

#greater_than_or_equalInteger

Represents a greater than equal condition to be applied to a single field when querying for findings.

Returns:

  • (Integer)


311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 311

class Condition < Struct.new(
  :eq,
  :neq,
  :gt,
  :gte,
  :lt,
  :lte,
  :equals,
  :not_equals,
  :greater_than,
  :greater_than_or_equal,
  :less_than,
  :less_than_or_equal)
  include Aws::Structure
end

#gtInteger

Represents a greater than condition to be applied to a single field when querying for findings.

Returns:

  • (Integer)


311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 311

class Condition < Struct.new(
  :eq,
  :neq,
  :gt,
  :gte,
  :lt,
  :lte,
  :equals,
  :not_equals,
  :greater_than,
  :greater_than_or_equal,
  :less_than,
  :less_than_or_equal)
  include Aws::Structure
end

#gteInteger

Represents a greater than equal condition to be applied to a single field when querying for findings.

Returns:

  • (Integer)


311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 311

class Condition < Struct.new(
  :eq,
  :neq,
  :gt,
  :gte,
  :lt,
  :lte,
  :equals,
  :not_equals,
  :greater_than,
  :greater_than_or_equal,
  :less_than,
  :less_than_or_equal)
  include Aws::Structure
end

#less_thanInteger

Represents a less than condition to be applied to a single field when querying for findings.

Returns:

  • (Integer)


311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 311

class Condition < Struct.new(
  :eq,
  :neq,
  :gt,
  :gte,
  :lt,
  :lte,
  :equals,
  :not_equals,
  :greater_than,
  :greater_than_or_equal,
  :less_than,
  :less_than_or_equal)
  include Aws::Structure
end

#less_than_or_equalInteger

Represents a less than equal condition to be applied to a single field when querying for findings.

Returns:

  • (Integer)


311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 311

class Condition < Struct.new(
  :eq,
  :neq,
  :gt,
  :gte,
  :lt,
  :lte,
  :equals,
  :not_equals,
  :greater_than,
  :greater_than_or_equal,
  :less_than,
  :less_than_or_equal)
  include Aws::Structure
end

#ltInteger

Represents a less than condition to be applied to a single field when querying for findings.

Returns:

  • (Integer)


311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 311

class Condition < Struct.new(
  :eq,
  :neq,
  :gt,
  :gte,
  :lt,
  :lte,
  :equals,
  :not_equals,
  :greater_than,
  :greater_than_or_equal,
  :less_than,
  :less_than_or_equal)
  include Aws::Structure
end

#lteInteger

Represents a less than equal condition to be applied to a single field when querying for findings.

Returns:

  • (Integer)


311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 311

class Condition < Struct.new(
  :eq,
  :neq,
  :gt,
  :gte,
  :lt,
  :lte,
  :equals,
  :not_equals,
  :greater_than,
  :greater_than_or_equal,
  :less_than,
  :less_than_or_equal)
  include Aws::Structure
end

#neqArray<String>

Represents the not equal condition to be applied to a single field when querying for findings.

Returns:

  • (Array<String>)


311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 311

class Condition < Struct.new(
  :eq,
  :neq,
  :gt,
  :gte,
  :lt,
  :lte,
  :equals,
  :not_equals,
  :greater_than,
  :greater_than_or_equal,
  :less_than,
  :less_than_or_equal)
  include Aws::Structure
end

#not_equalsArray<String>

Represents an not equal condition to be applied to a single field when querying for findings.

Returns:

  • (Array<String>)


311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 311

class Condition < Struct.new(
  :eq,
  :neq,
  :gt,
  :gte,
  :lt,
  :lte,
  :equals,
  :not_equals,
  :greater_than,
  :greater_than_or_equal,
  :less_than,
  :less_than_or_equal)
  include Aws::Structure
end