public class ActivateGatewayRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ActivateGateway operation
.
This operation activates the gateway you previously deployed on your host. For more information, see Activate the AWS Storage Gateway . In the activation process, you specify information such as the region you want to use for storing snapshots, the time zone for scheduled snapshots the gateway snapshot schedule window, an activation key, and a name for your gateway. The activation process also associates your gateway with your account; for more information, see UpdateGatewayInformation.
NOTE:You must turn on the gateway VM before you can activate your gateway.
NOOP
Constructor and Description |
---|
ActivateGatewayRequest() |
Modifier and Type | Method and Description |
---|---|
ActivateGatewayRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getActivationKey()
Your gateway activation key.
|
String |
getGatewayName()
A unique identifier for your gateway.
|
String |
getGatewayRegion()
One of the values that indicates the region where you want to store
the snapshot backups.
|
String |
getGatewayTimezone()
One of the values that indicates the time zone you want to set for the
gateway.
|
String |
getGatewayType()
One of the values that defines the type of gateway to activate.
|
String |
getMediumChangerType()
The value that indicates the type of medium changer to use for
gateway-VTL.
|
String |
getTapeDriveType()
The value that indicates the type of tape drive to use for
gateway-VTL.
|
int |
hashCode() |
void |
setActivationKey(String activationKey)
Your gateway activation key.
|
void |
setGatewayName(String gatewayName)
A unique identifier for your gateway.
|
void |
setGatewayRegion(String gatewayRegion)
One of the values that indicates the region where you want to store
the snapshot backups.
|
void |
setGatewayTimezone(String gatewayTimezone)
One of the values that indicates the time zone you want to set for the
gateway.
|
void |
setGatewayType(String gatewayType)
One of the values that defines the type of gateway to activate.
|
void |
setMediumChangerType(String mediumChangerType)
The value that indicates the type of medium changer to use for
gateway-VTL.
|
void |
setTapeDriveType(String tapeDriveType)
The value that indicates the type of tape drive to use for
gateway-VTL.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ActivateGatewayRequest |
withActivationKey(String activationKey)
Your gateway activation key.
|
ActivateGatewayRequest |
withGatewayName(String gatewayName)
A unique identifier for your gateway.
|
ActivateGatewayRequest |
withGatewayRegion(String gatewayRegion)
One of the values that indicates the region where you want to store
the snapshot backups.
|
ActivateGatewayRequest |
withGatewayTimezone(String gatewayTimezone)
One of the values that indicates the time zone you want to set for the
gateway.
|
ActivateGatewayRequest |
withGatewayType(String gatewayType)
One of the values that defines the type of gateway to activate.
|
ActivateGatewayRequest |
withMediumChangerType(String mediumChangerType)
The value that indicates the type of medium changer to use for
gateway-VTL.
|
ActivateGatewayRequest |
withTapeDriveType(String tapeDriveType)
The value that indicates the type of tape drive to use for
gateway-VTL.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getActivationKey()
activationKey
. It may also include other
activation-related parameters, however, these are merely defaults --
the arguments you pass to the ActivateGateway
API call
determine the actual configuration of your gateway.
Constraints:
Length: 1 - 50
activationKey
. It may also include other
activation-related parameters, however, these are merely defaults --
the arguments you pass to the ActivateGateway
API call
determine the actual configuration of your gateway.public void setActivationKey(String activationKey)
activationKey
. It may also include other
activation-related parameters, however, these are merely defaults --
the arguments you pass to the ActivateGateway
API call
determine the actual configuration of your gateway.
Constraints:
Length: 1 - 50
activationKey
- Your gateway activation key. You can obtain the activation key by
sending an HTTP GET request with redirects enabled to the gateway IP
address (port 80). The redirect URL returned in the response provides
you the activation key for your gateway in the query string parameter
activationKey
. It may also include other
activation-related parameters, however, these are merely defaults --
the arguments you pass to the ActivateGateway
API call
determine the actual configuration of your gateway.public ActivateGatewayRequest withActivationKey(String activationKey)
activationKey
. It may also include other
activation-related parameters, however, these are merely defaults --
the arguments you pass to the ActivateGateway
API call
determine the actual configuration of your gateway.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 50
activationKey
- Your gateway activation key. You can obtain the activation key by
sending an HTTP GET request with redirects enabled to the gateway IP
address (port 80). The redirect URL returned in the response provides
you the activation key for your gateway in the query string parameter
activationKey
. It may also include other
activation-related parameters, however, these are merely defaults --
the arguments you pass to the ActivateGateway
API call
determine the actual configuration of your gateway.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 ActivateGatewayRequest 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
- One of the values that indicates the time zone you want to set for the
gateway. The time zone is used, for example, for scheduling snapshots
and your gateway's maintenance schedule.public ActivateGatewayRequest withGatewayTimezone(String gatewayTimezone)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 3 - 10
gatewayTimezone
- One of the values that indicates the time zone you want to set for the
gateway. The time zone is used, for example, for scheduling snapshots
and your gateway's maintenance schedule.public String getGatewayRegion()
Host
header in the request.
For more information about available regions and endpoints for AWS
Storage Gateway, see Regions
and Endpoints in the Amazon Web Services Glossary.
Valid Values: "us-east-1", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-northeast-1", "ap-southeast-1", "ap-southeast-2", "sa-east-1"
Constraints:
Length: 1 - 25
Host
header in the request.
For more information about available regions and endpoints for AWS
Storage Gateway, see Regions
and Endpoints in the Amazon Web Services Glossary.
Valid Values: "us-east-1", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-northeast-1", "ap-southeast-1", "ap-southeast-2", "sa-east-1"
public void setGatewayRegion(String gatewayRegion)
Host
header in the request.
For more information about available regions and endpoints for AWS
Storage Gateway, see Regions
and Endpoints in the Amazon Web Services Glossary.
Valid Values: "us-east-1", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-northeast-1", "ap-southeast-1", "ap-southeast-2", "sa-east-1"
Constraints:
Length: 1 - 25
gatewayRegion
- One of the values that indicates the region where you want to store
the snapshot backups. The gateway region specified must be the same
region as the region in your Host
header in the request.
For more information about available regions and endpoints for AWS
Storage Gateway, see Regions
and Endpoints in the Amazon Web Services Glossary.
Valid Values: "us-east-1", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-northeast-1", "ap-southeast-1", "ap-southeast-2", "sa-east-1"
public ActivateGatewayRequest withGatewayRegion(String gatewayRegion)
Host
header in the request.
For more information about available regions and endpoints for AWS
Storage Gateway, see Regions
and Endpoints in the Amazon Web Services Glossary.
Valid Values: "us-east-1", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-northeast-1", "ap-southeast-1", "ap-southeast-2", "sa-east-1"
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 25
gatewayRegion
- One of the values that indicates the region where you want to store
the snapshot backups. The gateway region specified must be the same
region as the region in your Host
header in the request.
For more information about available regions and endpoints for AWS
Storage Gateway, see Regions
and Endpoints in the Amazon Web Services Glossary.
Valid Values: "us-east-1", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-northeast-1", "ap-southeast-1", "ap-southeast-2", "sa-east-1"
public String getGatewayType()
STORED
.
Constraints:
Length: 2 - 20
STORED
.public void setGatewayType(String gatewayType)
STORED
.
Constraints:
Length: 2 - 20
gatewayType
- One of the values that defines the type of gateway to activate. The
type specified is critical to all later functions of the gateway and
cannot be changed after activation. The default value is
STORED
.public ActivateGatewayRequest withGatewayType(String gatewayType)
STORED
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 2 - 20
gatewayType
- One of the values that defines the type of gateway to activate. The
type specified is critical to all later functions of the gateway and
cannot be changed after activation. The default value is
STORED
.public String getTapeDriveType()
Valid Values: "IBM-ULT3580-TD5"
Constraints:
Length: 2 - 50
Valid Values: "IBM-ULT3580-TD5"
public void setTapeDriveType(String tapeDriveType)
Valid Values: "IBM-ULT3580-TD5"
Constraints:
Length: 2 - 50
tapeDriveType
- The value that indicates the type of tape drive to use for
gateway-VTL. This field is optional. Valid Values: "IBM-ULT3580-TD5"
public ActivateGatewayRequest withTapeDriveType(String tapeDriveType)
Valid Values: "IBM-ULT3580-TD5"
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 2 - 50
tapeDriveType
- The value that indicates the type of tape drive to use for
gateway-VTL. This field is optional. Valid Values: "IBM-ULT3580-TD5"
public String getMediumChangerType()
Valid Values: "STK-L700", "AWS-Gateway-VTL"
Constraints:
Length: 2 - 50
Valid Values: "STK-L700", "AWS-Gateway-VTL"
public void setMediumChangerType(String mediumChangerType)
Valid Values: "STK-L700", "AWS-Gateway-VTL"
Constraints:
Length: 2 - 50
mediumChangerType
- The value that indicates the type of medium changer to use for
gateway-VTL. This field is optional. Valid Values: "STK-L700", "AWS-Gateway-VTL"
public ActivateGatewayRequest withMediumChangerType(String mediumChangerType)
Valid Values: "STK-L700", "AWS-Gateway-VTL"
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 2 - 50
mediumChangerType
- The value that indicates the type of medium changer to use for
gateway-VTL. This field is optional. Valid Values: "STK-L700", "AWS-Gateway-VTL"
public String toString()
toString
in class Object
Object.toString()
public ActivateGatewayRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.