@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BandwidthRateLimitInterval extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
BandwidthRateLimitInterval() |
Modifier and Type | Method and Description |
---|---|
BandwidthRateLimitInterval |
clone() |
boolean |
equals(Object obj) |
Long |
getAverageUploadRateLimitInBitsPerSec()
The average upload rate limit component of the bandwidth rate limit interval, in bits per second.
|
List<Integer> |
getDaysOfWeek()
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.
|
Integer |
getEndHourOfDay()
The hour of the day to end the bandwidth rate limit interval.
|
Integer |
getEndMinuteOfHour()
The minute of the hour to end the bandwidth rate limit interval.
|
Integer |
getStartHourOfDay()
The hour of the day to start the bandwidth rate limit interval.
|
Integer |
getStartMinuteOfHour()
The minute of the hour to start the bandwidth rate limit interval.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAverageUploadRateLimitInBitsPerSec(Long averageUploadRateLimitInBitsPerSec)
The average upload rate limit component of the bandwidth rate limit interval, in bits per second.
|
void |
setDaysOfWeek(Collection<Integer> daysOfWeek)
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.
|
void |
setEndHourOfDay(Integer endHourOfDay)
The hour of the day to end the bandwidth rate limit interval.
|
void |
setEndMinuteOfHour(Integer endMinuteOfHour)
The minute of the hour to end the bandwidth rate limit interval.
|
void |
setStartHourOfDay(Integer startHourOfDay)
The hour of the day to start the bandwidth rate limit interval.
|
void |
setStartMinuteOfHour(Integer startMinuteOfHour)
The minute of the hour to start the bandwidth rate limit interval.
|
String |
toString()
Returns a string representation of this object.
|
BandwidthRateLimitInterval |
withAverageUploadRateLimitInBitsPerSec(Long averageUploadRateLimitInBitsPerSec)
The average upload rate limit component of the bandwidth rate limit interval, in bits per second.
|
BandwidthRateLimitInterval |
withDaysOfWeek(Collection<Integer> daysOfWeek)
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.
|
BandwidthRateLimitInterval |
withDaysOfWeek(Integer... daysOfWeek)
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.
|
BandwidthRateLimitInterval |
withEndHourOfDay(Integer endHourOfDay)
The hour of the day to end the bandwidth rate limit interval.
|
BandwidthRateLimitInterval |
withEndMinuteOfHour(Integer endMinuteOfHour)
The minute of the hour to end the bandwidth rate limit interval.
|
BandwidthRateLimitInterval |
withStartHourOfDay(Integer startHourOfDay)
The hour of the day to start the bandwidth rate limit interval.
|
BandwidthRateLimitInterval |
withStartMinuteOfHour(Integer startMinuteOfHour)
The minute of the hour to start the bandwidth rate limit interval.
|
public void setAverageUploadRateLimitInBitsPerSec(Long averageUploadRateLimitInBitsPerSec)
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.
For Backup Gateway, the minimum value is (Value)
.
averageUploadRateLimitInBitsPerSec
- 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.
For Backup Gateway, the minimum value is (Value)
.
public Long getAverageUploadRateLimitInBitsPerSec()
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.
For Backup Gateway, the minimum value is (Value)
.
For Backup Gateway, the minimum value is (Value)
.
public BandwidthRateLimitInterval withAverageUploadRateLimitInBitsPerSec(Long averageUploadRateLimitInBitsPerSec)
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.
For Backup Gateway, the minimum value is (Value)
.
averageUploadRateLimitInBitsPerSec
- 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.
For Backup Gateway, the minimum value is (Value)
.
public List<Integer> getDaysOfWeek()
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.
public void setDaysOfWeek(Collection<Integer> daysOfWeek)
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.
daysOfWeek
- 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.public BandwidthRateLimitInterval withDaysOfWeek(Integer... daysOfWeek)
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.
NOTE: This method appends the values to the existing list (if any). Use
setDaysOfWeek(java.util.Collection)
or withDaysOfWeek(java.util.Collection)
if you want to
override the existing values.
daysOfWeek
- 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.public BandwidthRateLimitInterval withDaysOfWeek(Collection<Integer> daysOfWeek)
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.
daysOfWeek
- 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.public void setEndHourOfDay(Integer endHourOfDay)
The hour of the day to end the bandwidth rate limit interval.
endHourOfDay
- The hour of the day to end the bandwidth rate limit interval.public Integer getEndHourOfDay()
The hour of the day to end the bandwidth rate limit interval.
public BandwidthRateLimitInterval withEndHourOfDay(Integer endHourOfDay)
The hour of the day to end the bandwidth rate limit interval.
endHourOfDay
- The hour of the day to end the bandwidth rate limit interval.public void setEndMinuteOfHour(Integer endMinuteOfHour)
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
.
endMinuteOfHour
- 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
.
public Integer getEndMinuteOfHour()
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
.
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
.
public BandwidthRateLimitInterval withEndMinuteOfHour(Integer endMinuteOfHour)
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
.
endMinuteOfHour
- 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
.
public void setStartHourOfDay(Integer startHourOfDay)
The hour of the day to start the bandwidth rate limit interval.
startHourOfDay
- The hour of the day to start the bandwidth rate limit interval.public Integer getStartHourOfDay()
The hour of the day to start the bandwidth rate limit interval.
public BandwidthRateLimitInterval withStartHourOfDay(Integer startHourOfDay)
The hour of the day to start the bandwidth rate limit interval.
startHourOfDay
- The hour of the day to start the bandwidth rate limit interval.public void setStartMinuteOfHour(Integer startMinuteOfHour)
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
.
startMinuteOfHour
- 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
.public Integer getStartMinuteOfHour()
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
.
0
.public BandwidthRateLimitInterval withStartMinuteOfHour(Integer startMinuteOfHour)
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
.
startMinuteOfHour
- 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
.public String toString()
toString
in class Object
Object.toString()
public BandwidthRateLimitInterval clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.