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

Class: Aws::Redshift::Types::NodeConfigurationOptionsFilter

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

Overview

Note:

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

{
  name: "NodeType", # accepts NodeType, NumberOfNodes, EstimatedDiskUtilizationPercent, Mode
  operator: "eq", # accepts eq, lt, gt, le, ge, in, between
  values: ["String"],
}

A set of elements to filter the returned node configurations.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the element to filter.

Returns:

  • (String)


6559
6560
6561
6562
6563
6564
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 6559

class NodeConfigurationOptionsFilter < Struct.new(
  :name,
  :operator,
  :values)
  include Aws::Structure
end

#operatorString

The filter operator. If filter Name is NodeType only the 'in' operator is supported. Provide one value to evaluate for 'eq', 'lt', 'le', 'gt', and 'ge'. Provide two values to evaluate for 'between'. Provide a list of values for 'in'.

Returns:

  • (String)


6559
6560
6561
6562
6563
6564
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 6559

class NodeConfigurationOptionsFilter < Struct.new(
  :name,
  :operator,
  :values)
  include Aws::Structure
end

#valuesArray<String>

List of values. Compare Name using Operator to Values. If filter Name is NumberOfNodes, then values can range from 0 to 200. If filter Name is EstimatedDiskUtilizationPercent, then values can range from 0 to 100. For example, filter NumberOfNodes (name) GT (operator) 3 (values).

Returns:

  • (Array<String>)


6559
6560
6561
6562
6563
6564
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 6559

class NodeConfigurationOptionsFilter < Struct.new(
  :name,
  :operator,
  :values)
  include Aws::Structure
end