Class: Aws::StorageGateway::Types::BandwidthRateLimitInterval

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 BandwidthRateLimitInterval data as a hash:

{
  start_hour_of_day: 1, # required
  start_minute_of_hour: 1, # required
  end_hour_of_day: 1, # required
  end_minute_of_hour: 1, # required
  days_of_week: [1], # required
  average_upload_rate_limit_in_bits_per_sec: 1,
  average_download_rate_limit_in_bits_per_sec: 1,
}

Describes a bandwidth rate limit interval for a gateway. A bandwidth rate limit schedule consists of one or more bandwidth rate limit intervals. A bandwidth rate limit interval defines a period of time on one or more days of the week, during which bandwidth rate limits are specified for uploading, downloading, or both.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#average_download_rate_limit_in_bits_per_secInteger

The average download rate limit component of the bandwidth rate limit interval, in bits per second. This field does not appear in the response if the download rate limit is not set.

Returns:

  • (Integer)


773
774
775
776
777
778
779
780
781
782
783
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 773

class BandwidthRateLimitInterval < Struct.new(
  :start_hour_of_day,
  :start_minute_of_hour,
  :end_hour_of_day,
  :end_minute_of_hour,
  :days_of_week,
  :average_upload_rate_limit_in_bits_per_sec,
  :average_download_rate_limit_in_bits_per_sec)
  SENSITIVE = []
  include Aws::Structure
end

#average_upload_rate_limit_in_bits_per_secInteger

The average upload rate limit component of the bandwidth rate limit interval, in bits per second. This field does not appear in the response if the upload rate limit is not set.

Returns:

  • (Integer)


773
774
775
776
777
778
779
780
781
782
783
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 773

class BandwidthRateLimitInterval < Struct.new(
  :start_hour_of_day,
  :start_minute_of_hour,
  :end_hour_of_day,
  :end_minute_of_hour,
  :days_of_week,
  :average_upload_rate_limit_in_bits_per_sec,
  :average_download_rate_limit_in_bits_per_sec)
  SENSITIVE = []
  include Aws::Structure
end

#days_of_weekArray<Integer>

The days of the week component of the bandwidth rate limit interval, represented as ordinal numbers from 0 to 6, where 0 represents Sunday and 6 represents Saturday.

Returns:

  • (Array<Integer>)


773
774
775
776
777
778
779
780
781
782
783
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 773

class BandwidthRateLimitInterval < Struct.new(
  :start_hour_of_day,
  :start_minute_of_hour,
  :end_hour_of_day,
  :end_minute_of_hour,
  :days_of_week,
  :average_upload_rate_limit_in_bits_per_sec,
  :average_download_rate_limit_in_bits_per_sec)
  SENSITIVE = []
  include Aws::Structure
end

#end_hour_of_dayInteger

The hour of the day to end the bandwidth rate limit interval.

Returns:

  • (Integer)


773
774
775
776
777
778
779
780
781
782
783
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 773

class BandwidthRateLimitInterval < Struct.new(
  :start_hour_of_day,
  :start_minute_of_hour,
  :end_hour_of_day,
  :end_minute_of_hour,
  :days_of_week,
  :average_upload_rate_limit_in_bits_per_sec,
  :average_download_rate_limit_in_bits_per_sec)
  SENSITIVE = []
  include Aws::Structure
end

#end_minute_of_hourInteger

The minute of the hour to end the bandwidth rate limit interval.

The bandwidth rate limit interval ends at the end of the minute. To end an interval at the end of an hour, use the value 59.

Returns:

  • (Integer)


773
774
775
776
777
778
779
780
781
782
783
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 773

class BandwidthRateLimitInterval < Struct.new(
  :start_hour_of_day,
  :start_minute_of_hour,
  :end_hour_of_day,
  :end_minute_of_hour,
  :days_of_week,
  :average_upload_rate_limit_in_bits_per_sec,
  :average_download_rate_limit_in_bits_per_sec)
  SENSITIVE = []
  include Aws::Structure
end

#start_hour_of_dayInteger

The hour of the day to start the bandwidth rate limit interval.

Returns:

  • (Integer)


773
774
775
776
777
778
779
780
781
782
783
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 773

class BandwidthRateLimitInterval < Struct.new(
  :start_hour_of_day,
  :start_minute_of_hour,
  :end_hour_of_day,
  :end_minute_of_hour,
  :days_of_week,
  :average_upload_rate_limit_in_bits_per_sec,
  :average_download_rate_limit_in_bits_per_sec)
  SENSITIVE = []
  include Aws::Structure
end

#start_minute_of_hourInteger

The minute of the hour to start the bandwidth rate limit interval. The interval begins at the start of that minute. To begin an interval exactly at the start of the hour, use the value 0.

Returns:

  • (Integer)


773
774
775
776
777
778
779
780
781
782
783
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 773

class BandwidthRateLimitInterval < Struct.new(
  :start_hour_of_day,
  :start_minute_of_hour,
  :end_hour_of_day,
  :end_minute_of_hour,
  :days_of_week,
  :average_upload_rate_limit_in_bits_per_sec,
  :average_download_rate_limit_in_bits_per_sec)
  SENSITIVE = []
  include Aws::Structure
end