You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::StorageGateway::Types::UpdateMaintenanceStartTimeInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb

Overview

Note:

When making an API call, you may pass UpdateMaintenanceStartTimeInput data as a hash:

{
  gateway_arn: "GatewayARN", # required
  hour_of_day: 1, # required
  minute_of_hour: 1, # required
  day_of_week: 1,
  day_of_month: 1,
}

A JSON object containing the following fields:

  • UpdateMaintenanceStartTimeInput$DayOfMonth

  • UpdateMaintenanceStartTimeInput$DayOfWeek

  • UpdateMaintenanceStartTimeInput$HourOfDay

  • UpdateMaintenanceStartTimeInput$MinuteOfHour

Instance Attribute Summary collapse

Instance Attribute Details

#day_of_monthInteger

The day of the month component of the maintenance start time represented as an ordinal number from 1 to 28, where 1 represents the first day of the month and 28 represents the last day of the month.

This value is only available for tape and volume gateways.

Returns:

  • (Integer)


5428
5429
5430
5431
5432
5433
5434
5435
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 5428

class UpdateMaintenanceStartTimeInput < Struct.new(
  :gateway_arn,
  :hour_of_day,
  :minute_of_hour,
  :day_of_week,
  :day_of_month)
  include Aws::Structure
end

#day_of_weekInteger

The day of the week component of the maintenance start time week represented as an ordinal number from 0 to 6, where 0 represents Sunday and 6 Saturday.

Returns:

  • (Integer)


5428
5429
5430
5431
5432
5433
5434
5435
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 5428

class UpdateMaintenanceStartTimeInput < Struct.new(
  :gateway_arn,
  :hour_of_day,
  :minute_of_hour,
  :day_of_week,
  :day_of_month)
  include Aws::Structure
end

#gateway_arnString

The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and AWS Region.

Returns:

  • (String)


5428
5429
5430
5431
5432
5433
5434
5435
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 5428

class UpdateMaintenanceStartTimeInput < Struct.new(
  :gateway_arn,
  :hour_of_day,
  :minute_of_hour,
  :day_of_week,
  :day_of_month)
  include Aws::Structure
end

#hour_of_dayInteger

The hour component of the maintenance start time represented as hh, where hh is the hour (00 to 23). The hour of the day is in the time zone of the gateway.

Returns:

  • (Integer)


5428
5429
5430
5431
5432
5433
5434
5435
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 5428

class UpdateMaintenanceStartTimeInput < Struct.new(
  :gateway_arn,
  :hour_of_day,
  :minute_of_hour,
  :day_of_week,
  :day_of_month)
  include Aws::Structure
end

#minute_of_hourInteger

The minute component of the maintenance start time represented as mm, where mm is the minute (00 to 59). The minute of the hour is in the time zone of the gateway.

Returns:

  • (Integer)


5428
5429
5430
5431
5432
5433
5434
5435
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 5428

class UpdateMaintenanceStartTimeInput < Struct.new(
  :gateway_arn,
  :hour_of_day,
  :minute_of_hour,
  :day_of_week,
  :day_of_month)
  include Aws::Structure
end