public class StartGatewayRequest extends AmazonWebServiceRequest implements java.io.Serializable
StartGateway operation.
This operation starts a gateway that you previously shut down (see ShutdownGateway). After the gateway starts, you can then make other API calls, your applications can read from or write to the gateway's storage volumes and you will be able to take snapshot backups.
NOTE:When you make a request, you will get a 200 OK success response immediately. However, it might take some time for the gateway to be ready. You should call DescribeGatewayInformation and check the status before making any additional API calls. For more information, see ActivateGateway.
To specify which gateway to start, use the Amazon Resource Name (ARN) of the gateway in your request.
| コンストラクタと説明 |
|---|
StartGatewayRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getGatewayARN()
The Amazon Resource Name (ARN) of the gateway.
|
int |
hashCode() |
void |
setGatewayARN(java.lang.String gatewayARN)
The Amazon Resource Name (ARN) of the gateway.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StartGatewayRequest |
withGatewayARN(java.lang.String gatewayARN)
The Amazon Resource Name (ARN) of the gateway.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic 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 StartGatewayRequest 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 toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object