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:



602
603
604
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/errors.rb', line 602

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

Instance Method Details

#backup_idString

Returns:

  • (String)


612
613
614
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/errors.rb', line 612

def backup_id
  @data[:backup_id]
end

#messageString

Returns:

  • (String)


607
608
609
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/errors.rb', line 607

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