Class: AWS::Core::OptionGrammar::Descriptors::ListMember

Inherits:
AWS::Core::OptionGrammar::DefaultOption show all
Defined in:
lib/aws/core/option_grammar.rb

Instance Attribute Summary

Attributes inherited from AWS::Core::OptionGrammar::DefaultOption

#name

Instance Method Summary collapse

Methods inherited from AWS::Core::OptionGrammar::DefaultOption

#context_description, #encode_value, #extend_with_config, #format_error, #hash_format, #request_params, #required?, #ruby_name

Methods included from String

#encode_value, #validate

Methods included from NoArgs

#apply

Constructor Details

#initialize(options = {}) ⇒ ListMember

Returns a new instance of ListMember.



261
262
263
264
# File 'lib/aws/core/option_grammar.rb', line 261

def initialize options = {}
  super("##list-member##")
  @prefix = options[:prefix] || ''
end

Instance Method Details

#prefixed_name(prefix) ⇒ Object



266
267
268
# File 'lib/aws/core/option_grammar.rb', line 266

def prefixed_name(prefix)
  "#{prefix}#{@prefix}"
end