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

public class UpdateMaintenanceStartTimeRequest
extends AmazonWebServiceRequest

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)

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 maintenance start time hour of day.
 Integer getMinuteOfHour()
          The maintenance start time minute of hour..
 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 maintenance start time hour of day.
 void setMinuteOfHour(Integer minuteOfHour)
          The maintenance start time minute of hour..
 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 maintenance start time hour of day.
 UpdateMaintenanceStartTimeRequest withMinuteOfHour(Integer minuteOfHour)
          The maintenance start time minute of hour..
 
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 maintenance start time hour of day.

Length: 2

Valid Values: An integer between 0 and 23 representing the hour of day.

Constraints:
Range: 0 - 23

Returns:
The maintenance start time hour of day.

Length: 2

Valid Values: An integer between 0 and 23 representing the hour of day.


setHourOfDay

public void setHourOfDay(Integer hourOfDay)
The maintenance start time hour of day.

Length: 2

Valid Values: An integer between 0 and 23 representing the hour of day.

Constraints:
Range: 0 - 23

Parameters:
hourOfDay - The maintenance start time hour of day.

Length: 2

Valid Values: An integer between 0 and 23 representing the hour of day.


withHourOfDay

public UpdateMaintenanceStartTimeRequest withHourOfDay(Integer hourOfDay)
The maintenance start time hour of day.

Length: 2

Valid Values: An integer between 0 and 23 representing the hour of day.

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

Constraints:
Range: 0 - 23

Parameters:
hourOfDay - The maintenance start time hour of day.

Length: 2

Valid Values: An integer between 0 and 23 representing the hour of day.

Returns:
A reference to this updated object so that method calls can be chained together.

getMinuteOfHour

public Integer getMinuteOfHour()
The maintenance start time minute of hour..

Length: 2

Valid Values: An integer between 0 and 59 representing the minute of hour.

Constraints:
Range: 0 - 59

Returns:
The maintenance start time minute of hour..

Length: 2

Valid Values: An integer between 0 and 59 representing the minute of hour.


setMinuteOfHour

public void setMinuteOfHour(Integer minuteOfHour)
The maintenance start time minute of hour..

Length: 2

Valid Values: An integer between 0 and 59 representing the minute of hour.

Constraints:
Range: 0 - 59

Parameters:
minuteOfHour - The maintenance start time minute of hour..

Length: 2

Valid Values: An integer between 0 and 59 representing the minute of hour.


withMinuteOfHour

public UpdateMaintenanceStartTimeRequest withMinuteOfHour(Integer minuteOfHour)
The maintenance start time minute of hour..

Length: 2

Valid Values: An integer between 0 and 59 representing the minute of hour.

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

Constraints:
Range: 0 - 59

Parameters:
minuteOfHour - The maintenance start time minute of hour..

Length: 2

Valid Values: An integer between 0 and 59 representing the minute of hour.

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.

Length: 1

Valid Values An integer between 0 and 6, where 0 represents Sunday and 6 represents Saturday.

Constraints:
Range: 0 - 6

Returns:
The maintenance start time day of the week.

Length: 1

Valid Values An integer between 0 and 6, where 0 represents Sunday and 6 represents Saturday.


setDayOfWeek

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

Length: 1

Valid Values An integer between 0 and 6, where 0 represents Sunday and 6 represents Saturday.

Constraints:
Range: 0 - 6

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

Length: 1

Valid Values An integer between 0 and 6, where 0 represents Sunday and 6 represents Saturday.


withDayOfWeek

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

Length: 1

Valid Values An integer between 0 and 6, where 0 represents Sunday and 6 represents Saturday.

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.

Length: 1

Valid Values An integer between 0 and 6, where 0 represents Sunday and 6 represents Saturday.

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.