Class: Aws::FSx::Errors::SourceBackupUnavailable

Inherits:
ServiceError
  • Object
show all
Defined in:
gems/aws-sdk-fsx/lib/aws-sdk-fsx/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ SourceBackupUnavailable

Returns a new instance of SourceBackupUnavailable.

Parameters:



682
683
684
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/errors.rb', line 682

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#backup_idString

Returns:

  • (String)


692
693
694
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/errors.rb', line 692

def backup_id
  @data[:backup_id]
end

#messageString

Returns:

  • (String)


687
688
689
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/errors.rb', line 687

def message
  @message || @data[:message]
end