|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.storagegateway.model.UpdateGatewayInformationRequest
public class UpdateGatewayInformationRequest
Container for the parameters to the UpdateGatewayInformation operation
.
This operation updates a gateway's metadata, which includes the gateway's name and time zone. To specify which gateway to update, use the Amazon Resource Name (ARN) of the gateway in your request.
AWSStorageGateway.updateGatewayInformation(UpdateGatewayInformationRequest)
Constructor Summary | |
---|---|
UpdateGatewayInformationRequest()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getGatewayARN()
The Amazon Resource Name (ARN) of the gateway. |
java.lang.String |
getGatewayName()
A unique identifier for your gateway. |
java.lang.String |
getGatewayTimezone()
One of the GatewayTimezone values that represents the time zone for your gateway. |
int |
hashCode()
|
void |
setGatewayARN(java.lang.String gatewayARN)
The Amazon Resource Name (ARN) of the gateway. |
void |
setGatewayName(java.lang.String gatewayName)
A unique identifier for your gateway. |
void |
setGatewayTimezone(GatewayTimezone gatewayTimezone)
One of the GatewayTimezone values that represents the time zone for your gateway. |
void |
setGatewayTimezone(java.lang.String gatewayTimezone)
One of the GatewayTimezone values that represents the time zone for your gateway. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
UpdateGatewayInformationRequest |
withGatewayARN(java.lang.String gatewayARN)
The Amazon Resource Name (ARN) of the gateway. |
UpdateGatewayInformationRequest |
withGatewayName(java.lang.String gatewayName)
A unique identifier for your gateway. |
UpdateGatewayInformationRequest |
withGatewayTimezone(GatewayTimezone gatewayTimezone)
One of the GatewayTimezone values that represents the time zone for your gateway. |
UpdateGatewayInformationRequest |
withGatewayTimezone(java.lang.String gatewayTimezone)
One of the GatewayTimezone values that represents the time zone for your gateway. |
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 |
---|
public UpdateGatewayInformationRequest()
Method Detail |
---|
public java.lang.String getGatewayARN()
Constraints:
Length: 50 - 500
public void setGatewayARN(java.lang.String gatewayARN)
Constraints:
Length: 50 - 500
gatewayARN
- The Amazon Resource Name (ARN) of the gateway. Use the
ListGateways operation to return a list of gateways for your
account and region.public UpdateGatewayInformationRequest withGatewayARN(java.lang.String gatewayARN)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 50 - 500
gatewayARN
- The Amazon Resource Name (ARN) of the gateway. Use the
ListGateways operation to return a list of gateways for your
account and region.
public java.lang.String getGatewayName()
Constraints:
Length: 2 - 255
Pattern: ^[ -\.0-\[\]-~]*[!-\.0-\[\]-~][ -\.0-\[\]-~]*$
public void setGatewayName(java.lang.String gatewayName)
Constraints:
Length: 2 - 255
Pattern: ^[ -\.0-\[\]-~]*[!-\.0-\[\]-~][ -\.0-\[\]-~]*$
gatewayName
- A unique identifier for your gateway. This name becomes part of the
gateway Amazon Resources Name (ARN) which is what you use as an input
to other operations.public UpdateGatewayInformationRequest withGatewayName(java.lang.String gatewayName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 2 - 255
Pattern: ^[ -\.0-\[\]-~]*[!-\.0-\[\]-~][ -\.0-\[\]-~]*$
gatewayName
- A unique identifier for your gateway. This name becomes part of the
gateway Amazon Resources Name (ARN) which is what you use as an input
to other operations.
public java.lang.String getGatewayTimezone()
Constraints:
Allowed Values: GMT-12:00, GMT-11:00, GMT-10:00, GMT-9:00, GMT-8:00, GMT-7:00, GMT-6:00, GMT-5:00, GMT-4:00, GMT-3:30, GMT-3:00, GMT-2:00, GMT-1:00, GMT, GMT+1:00, GMT+2:00, GMT+3:00, GMT+3:30, GMT+4:00, GMT+4:30, GMT+5:00, GMT+5:30, GMT+5:45, GMT+6:00, GMT+7:00, GMT+8:00, GMT+9:00, GMT+9:30, GMT+10:00, GMT+11:00, GMT+12:00
GatewayTimezone
public void setGatewayTimezone(java.lang.String gatewayTimezone)
Constraints:
Allowed Values: GMT-12:00, GMT-11:00, GMT-10:00, GMT-9:00, GMT-8:00, GMT-7:00, GMT-6:00, GMT-5:00, GMT-4:00, GMT-3:30, GMT-3:00, GMT-2:00, GMT-1:00, GMT, GMT+1:00, GMT+2:00, GMT+3:00, GMT+3:30, GMT+4:00, GMT+4:30, GMT+5:00, GMT+5:30, GMT+5:45, GMT+6:00, GMT+7:00, GMT+8:00, GMT+9:00, GMT+9:30, GMT+10:00, GMT+11:00, GMT+12:00
gatewayTimezone
- One of the GatewayTimezone values that represents the time zone
for your gateway. The time zone is used, for example, when a time
stamp is given to a snapshot.GatewayTimezone
public UpdateGatewayInformationRequest withGatewayTimezone(java.lang.String gatewayTimezone)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: GMT-12:00, GMT-11:00, GMT-10:00, GMT-9:00, GMT-8:00, GMT-7:00, GMT-6:00, GMT-5:00, GMT-4:00, GMT-3:30, GMT-3:00, GMT-2:00, GMT-1:00, GMT, GMT+1:00, GMT+2:00, GMT+3:00, GMT+3:30, GMT+4:00, GMT+4:30, GMT+5:00, GMT+5:30, GMT+5:45, GMT+6:00, GMT+7:00, GMT+8:00, GMT+9:00, GMT+9:30, GMT+10:00, GMT+11:00, GMT+12:00
gatewayTimezone
- One of the GatewayTimezone values that represents the time zone
for your gateway. The time zone is used, for example, when a time
stamp is given to a snapshot.
GatewayTimezone
public void setGatewayTimezone(GatewayTimezone gatewayTimezone)
Constraints:
Allowed Values: GMT-12:00, GMT-11:00, GMT-10:00, GMT-9:00, GMT-8:00, GMT-7:00, GMT-6:00, GMT-5:00, GMT-4:00, GMT-3:30, GMT-3:00, GMT-2:00, GMT-1:00, GMT, GMT+1:00, GMT+2:00, GMT+3:00, GMT+3:30, GMT+4:00, GMT+4:30, GMT+5:00, GMT+5:30, GMT+5:45, GMT+6:00, GMT+7:00, GMT+8:00, GMT+9:00, GMT+9:30, GMT+10:00, GMT+11:00, GMT+12:00
gatewayTimezone
- One of the GatewayTimezone values that represents the time zone
for your gateway. The time zone is used, for example, when a time
stamp is given to a snapshot.GatewayTimezone
public UpdateGatewayInformationRequest withGatewayTimezone(GatewayTimezone gatewayTimezone)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: GMT-12:00, GMT-11:00, GMT-10:00, GMT-9:00, GMT-8:00, GMT-7:00, GMT-6:00, GMT-5:00, GMT-4:00, GMT-3:30, GMT-3:00, GMT-2:00, GMT-1:00, GMT, GMT+1:00, GMT+2:00, GMT+3:00, GMT+3:30, GMT+4:00, GMT+4:30, GMT+5:00, GMT+5:30, GMT+5:45, GMT+6:00, GMT+7:00, GMT+8:00, GMT+9:00, GMT+9:30, GMT+10:00, GMT+11:00, GMT+12:00
gatewayTimezone
- One of the GatewayTimezone values that represents the time zone
for your gateway. The time zone is used, for example, when a time
stamp is given to a snapshot.
GatewayTimezone
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |