Class: AWSCDK::FSX::DailyAutomaticBackupStartTime

Inherits:
Jsii::Object
  • Object
show all
Defined in:
fsx/daily_automatic_backup_start_time.rb

Overview

Class for scheduling a daily automatic backup time.

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(props) ⇒ DailyAutomaticBackupStartTime

Returns a new instance of DailyAutomaticBackupStartTime.



9
10
11
12
13
# File 'fsx/daily_automatic_backup_start_time.rb', line 9

def initialize(props)
  props = props.is_a?(Hash) ? ::AWSCDK::FSX::DailyAutomaticBackupStartTimeProps.new(**props.transform_keys(&:to_sym)) : props
  Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZnN4LkRhaWx5QXV0b21hdGljQmFja3VwU3RhcnRUaW1lUHJvcHMifQ==")), "props")
  Jsii::Object.instance_method(:initialize).bind(self).call(props)
end

Class Method Details

.jsii_overridable_methodsObject



15
16
17
18
19
# File 'fsx/daily_automatic_backup_start_time.rb', line 15

def self.jsii_overridable_methods
  {
    :to_timestamp => { kind: :method, name: "toTimestamp", is_optional: false },
  }
end

Instance Method Details

#to_timestampString

Converts an hour, and minute into HH:MM string.

Returns:

  • (String)


24
25
26
# File 'fsx/daily_automatic_backup_start_time.rb', line 24

def to_timestamp()
  jsii_call_method("toTimestamp", [])
end