public class UpdateGatewayInformationRequest extends AmazonWebServiceRequest implements Serializable
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.
NOOP
Constructor and Description |
---|
UpdateGatewayInformationRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getGatewayARN()
The Amazon Resource Name (ARN) of the gateway.
|
String |
getGatewayName()
A unique identifier for your gateway.
|
String |
getGatewayTimezone()
Returns the value of the GatewayTimezone property for this object.
|
int |
hashCode() |
void |
setGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the gateway.
|
void |
setGatewayName(String gatewayName)
A unique identifier for your gateway.
|
void |
setGatewayTimezone(String gatewayTimezone)
Sets the value of the GatewayTimezone property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateGatewayInformationRequest |
withGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the gateway.
|
UpdateGatewayInformationRequest |
withGatewayName(String gatewayName)
A unique identifier for your gateway.
|
UpdateGatewayInformationRequest |
withGatewayTimezone(String gatewayTimezone)
Sets the value of the GatewayTimezone property for this object.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getGatewayARN()
Constraints:
Length: 50 - 500
public void setGatewayARN(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(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 String getGatewayName()
Constraints:
Length: 2 - 255
Pattern: ^[ -\.0-\[\]-~]*[!-\.0-\[\]-~][ -\.0-\[\]-~]*$
public void setGatewayName(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(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 String getGatewayTimezone()
Constraints:
Length: 3 - 10
public void setGatewayTimezone(String gatewayTimezone)
Constraints:
Length: 3 - 10
gatewayTimezone
- The new value for the GatewayTimezone property for this object.public UpdateGatewayInformationRequest withGatewayTimezone(String gatewayTimezone)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 3 - 10
gatewayTimezone
- The new value for the GatewayTimezone property for this object.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.