public class DisableGatewayRequest extends AmazonWebServiceRequest implements Serializable
DisableGateway operation
.
Disables a gateway when the gateway is no longer functioning. For examples, if your gateway VM is damaged, you can disable the gateway so you can recover virtual tapes.
Use this operation for a Gateway-Virtual Tape Library that is not reachable or not functioning.
IMPORTANT:Once a gateway is disabled it cannot be enabled.
NOOP
Constructor and Description |
---|
DisableGatewayRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getGatewayARN()
The Amazon Resource Name (ARN) of the gateway.
|
int |
hashCode() |
void |
setGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the gateway.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DisableGatewayRequest |
withGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the gateway.
|
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 DisableGatewayRequest 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 toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.