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:



570
571
572
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/errors.rb', line 570

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

Instance Method Details

#backup_idString

Returns:

  • (String)


580
581
582
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/errors.rb', line 580

def backup_id
  @data[:backup_id]
end

#messageString

Returns:

  • (String)


575
576
577
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/errors.rb', line 575

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