Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.storagegateway.model
Class UpdateMaintenanceStartTimeRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.storagegateway.model.UpdateMaintenanceStartTimeRequest
All Implemented Interfaces:
Serializable

public class UpdateMaintenanceStartTimeRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the UpdateMaintenanceStartTime operation.

This operation updates a gateway's weekly maintenance start time information, including day and time of the week. The maintenance time is the time in your gateway's time zone.

See Also:
AWSStorageGateway.updateMaintenanceStartTime(UpdateMaintenanceStartTimeRequest), Serialized Form

Constructor Summary
UpdateMaintenanceStartTimeRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 Integer getDayOfWeek()
          The maintenance start time day of the week.
 String getGatewayARN()
          The Amazon Resource Name (ARN) of the gateway.
 Integer getHourOfDay()
          The hour component of the maintenance start time represented as hh, where hh is the hour (00 to 23).
 Integer getMinuteOfHour()
          The minute component of the maintenance start time represented as mm, where mm is the minute (00 to 59).
 int hashCode()
           
 void setDayOfWeek(Integer dayOfWeek)
          The maintenance start time day of the week.
 void setGatewayARN(String gatewayARN)
          The Amazon Resource Name (ARN) of the gateway.
 void setHourOfDay(Integer hourOfDay)
          The hour component of the maintenance start time represented as hh, where hh is the hour (00 to 23).
 void setMinuteOfHour(Integer minuteOfHour)
          The minute component of the maintenance start time represented as mm, where mm is the minute (00 to 59).
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 UpdateMaintenanceStartTimeRequest withDayOfWeek(Integer dayOfWeek)
          The maintenance start time day of the week.
 UpdateMaintenanceStartTimeRequest withGatewayARN(String gatewayARN)
          The Amazon Resource Name (ARN) of the gateway.
 UpdateMaintenanceStartTimeRequest withHourOfDay(Integer hourOfDay)
          The hour component of the maintenance start time represented as hh, where hh is the hour (00 to 23).
 UpdateMaintenanceStartTimeRequest withMinuteOfHour(Integer minuteOfHour)
          The minute component of the maintenance start time represented as mm, where mm is the minute (00 to 59).
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UpdateMaintenanceStartTimeRequest

public UpdateMaintenanceStartTimeRequest()
Method Detail

getGatewayARN

public String getGatewayARN()
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

Constraints:
Length: 50 - 500

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

setGatewayARN

public void setGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

Constraints:
Length: 50 - 500

Parameters:
gatewayARN - The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

withGatewayARN

public UpdateMaintenanceStartTimeRequest withGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 50 - 500

Parameters:
gatewayARN - The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.
Returns:
A reference to this updated object so that method calls can be chained together.

getHourOfDay

public Integer getHourOfDay()
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.

Constraints:
Range: 0 - 23

Returns:
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.

setHourOfDay

public void setHourOfDay(Integer hourOfDay)
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.

Constraints:
Range: 0 - 23

Parameters:
hourOfDay - 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.

withHourOfDay

public UpdateMaintenanceStartTimeRequest withHourOfDay(Integer hourOfDay)
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 a reference to this object so that method calls can be chained together.

Constraints:
Range: 0 - 23

Parameters:
hourOfDay - 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:
A reference to this updated object so that method calls can be chained together.

getMinuteOfHour

public Integer getMinuteOfHour()
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.

Constraints:
Range: 0 - 59

Returns:
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.

setMinuteOfHour

public void setMinuteOfHour(Integer minuteOfHour)
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.

Constraints:
Range: 0 - 59

Parameters:
minuteOfHour - 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.

withMinuteOfHour

public UpdateMaintenanceStartTimeRequest withMinuteOfHour(Integer minuteOfHour)
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 a reference to this object so that method calls can be chained together.

Constraints:
Range: 0 - 59

Parameters:
minuteOfHour - 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:
A reference to this updated object so that method calls can be chained together.

getDayOfWeek

public Integer getDayOfWeek()
The maintenance start time day of the week.

Constraints:
Range: 0 - 6

Returns:
The maintenance start time day of the week.

setDayOfWeek

public void setDayOfWeek(Integer dayOfWeek)
The maintenance start time day of the week.

Constraints:
Range: 0 - 6

Parameters:
dayOfWeek - The maintenance start time day of the week.

withDayOfWeek

public UpdateMaintenanceStartTimeRequest withDayOfWeek(Integer dayOfWeek)
The maintenance start time day of the week.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Range: 0 - 6

Parameters:
dayOfWeek - The maintenance start time day of the week.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.