@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ActivateGatewayRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A JSON object containing one or more of the following fields:
NOOP
Constructor and Description |
---|
ActivateGatewayRequest() |
Modifier and Type | Method and Description |
---|---|
ActivateGatewayRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getActivationKey()
Your gateway activation key.
|
String |
getGatewayName()
The name you configured for your gateway.
|
String |
getGatewayRegion()
A value that indicates the Amazon Web Services Region where you want to store your data.
|
String |
getGatewayTimezone()
A value that indicates the time zone you want to set for the gateway.
|
String |
getGatewayType()
A value that defines the type of gateway to activate.
|
String |
getMediumChangerType()
The value that indicates the type of medium changer to use for tape gateway.
|
List<Tag> |
getTags()
A list of up to 50 tags that you can assign to the gateway.
|
String |
getTapeDriveType()
The value that indicates the type of tape drive to use for tape gateway.
|
int |
hashCode() |
void |
setActivationKey(String activationKey)
Your gateway activation key.
|
void |
setGatewayName(String gatewayName)
The name you configured for your gateway.
|
void |
setGatewayRegion(String gatewayRegion)
A value that indicates the Amazon Web Services Region where you want to store your data.
|
void |
setGatewayTimezone(String gatewayTimezone)
A value that indicates the time zone you want to set for the gateway.
|
void |
setGatewayType(String gatewayType)
A value that defines the type of gateway to activate.
|
void |
setMediumChangerType(String mediumChangerType)
The value that indicates the type of medium changer to use for tape gateway.
|
void |
setTags(Collection<Tag> tags)
A list of up to 50 tags that you can assign to the gateway.
|
void |
setTapeDriveType(String tapeDriveType)
The value that indicates the type of tape drive to use for tape gateway.
|
String |
toString()
Returns a string representation of this object.
|
ActivateGatewayRequest |
withActivationKey(String activationKey)
Your gateway activation key.
|
ActivateGatewayRequest |
withGatewayName(String gatewayName)
The name you configured for your gateway.
|
ActivateGatewayRequest |
withGatewayRegion(String gatewayRegion)
A value that indicates the Amazon Web Services Region where you want to store your data.
|
ActivateGatewayRequest |
withGatewayTimezone(String gatewayTimezone)
A value that indicates the time zone you want to set for the gateway.
|
ActivateGatewayRequest |
withGatewayType(String gatewayType)
A value that defines the type of gateway to activate.
|
ActivateGatewayRequest |
withMediumChangerType(String mediumChangerType)
The value that indicates the type of medium changer to use for tape gateway.
|
ActivateGatewayRequest |
withTags(Collection<Tag> tags)
A list of up to 50 tags that you can assign to the gateway.
|
ActivateGatewayRequest |
withTags(Tag... tags)
A list of up to 50 tags that you can assign to the gateway.
|
ActivateGatewayRequest |
withTapeDriveType(String tapeDriveType)
The value that indicates the type of tape drive to use for tape gateway.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setActivationKey(String 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.
For more information, see Getting activation key in the Storage Gateway User Guide.
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.
For more information, see Getting activation key in the Storage Gateway User Guide.
public String getActivationKey()
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.
For more information, see Getting activation key in the Storage Gateway User Guide.
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.
For more information, see Getting activation key in the Storage Gateway User Guide.
public ActivateGatewayRequest withActivationKey(String 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.
For more information, see Getting activation key in the Storage Gateway User Guide.
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.
For more information, see Getting activation key in the Storage Gateway User Guide.
public void setGatewayName(String gatewayName)
The name you configured for your gateway.
gatewayName
- The name you configured for your gateway.public String getGatewayName()
The name you configured for your gateway.
public ActivateGatewayRequest withGatewayName(String gatewayName)
The name you configured for your gateway.
gatewayName
- The name you configured for your gateway.public void setGatewayTimezone(String gatewayTimezone)
A value that indicates the time zone you want to set for the gateway. The time zone is of the format "GMT", "GMT-hr:mm", or "GMT+hr:mm". For example, GMT indicates Greenwich Mean Time without any offset. GMT-4:00 indicates the time is 4 hours behind GMT. GMT+2:00 indicates the time is 2 hours ahead of GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule.
gatewayTimezone
- A value that indicates the time zone you want to set for the gateway. The time zone is of the format
"GMT", "GMT-hr:mm", or "GMT+hr:mm". For example, GMT indicates Greenwich Mean Time without any offset.
GMT-4:00 indicates the time is 4 hours behind GMT. GMT+2:00 indicates the time is 2 hours ahead of GMT.
The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule.public String getGatewayTimezone()
A value that indicates the time zone you want to set for the gateway. The time zone is of the format "GMT", "GMT-hr:mm", or "GMT+hr:mm". For example, GMT indicates Greenwich Mean Time without any offset. GMT-4:00 indicates the time is 4 hours behind GMT. GMT+2:00 indicates the time is 2 hours ahead of GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule.
public ActivateGatewayRequest withGatewayTimezone(String gatewayTimezone)
A value that indicates the time zone you want to set for the gateway. The time zone is of the format "GMT", "GMT-hr:mm", or "GMT+hr:mm". For example, GMT indicates Greenwich Mean Time without any offset. GMT-4:00 indicates the time is 4 hours behind GMT. GMT+2:00 indicates the time is 2 hours ahead of GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule.
gatewayTimezone
- A value that indicates the time zone you want to set for the gateway. The time zone is of the format
"GMT", "GMT-hr:mm", or "GMT+hr:mm". For example, GMT indicates Greenwich Mean Time without any offset.
GMT-4:00 indicates the time is 4 hours behind GMT. GMT+2:00 indicates the time is 2 hours ahead of GMT.
The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule.public void setGatewayRegion(String gatewayRegion)
A value that indicates the Amazon Web Services Region where you want to store your data. The gateway Amazon Web
Services Region specified must be the same Amazon Web Services Region as the Amazon Web Services Region in your
Host
header in the request. For more information about available Amazon Web Services Regions and
endpoints for Storage Gateway, see Storage
Gateway endpoints and quotas in the Amazon Web Services General Reference.
Valid Values: See Storage Gateway endpoints and quotas in the Amazon Web Services General Reference.
gatewayRegion
- A value that indicates the Amazon Web Services Region where you want to store your data. The gateway
Amazon Web Services Region specified must be the same Amazon Web Services Region as the Amazon Web
Services Region in your Host
header in the request. For more information about available
Amazon Web Services Regions and endpoints for Storage Gateway, see Storage Gateway endpoints and quotas in
the Amazon Web Services General Reference.
Valid Values: See Storage Gateway endpoints and quotas in the Amazon Web Services General Reference.
public String getGatewayRegion()
A value that indicates the Amazon Web Services Region where you want to store your data. The gateway Amazon Web
Services Region specified must be the same Amazon Web Services Region as the Amazon Web Services Region in your
Host
header in the request. For more information about available Amazon Web Services Regions and
endpoints for Storage Gateway, see Storage
Gateway endpoints and quotas in the Amazon Web Services General Reference.
Valid Values: See Storage Gateway endpoints and quotas in the Amazon Web Services General Reference.
Host
header in the request. For more information about available
Amazon Web Services Regions and endpoints for Storage Gateway, see Storage Gateway endpoints and quotas in
the Amazon Web Services General Reference.
Valid Values: See Storage Gateway endpoints and quotas in the Amazon Web Services General Reference.
public ActivateGatewayRequest withGatewayRegion(String gatewayRegion)
A value that indicates the Amazon Web Services Region where you want to store your data. The gateway Amazon Web
Services Region specified must be the same Amazon Web Services Region as the Amazon Web Services Region in your
Host
header in the request. For more information about available Amazon Web Services Regions and
endpoints for Storage Gateway, see Storage
Gateway endpoints and quotas in the Amazon Web Services General Reference.
Valid Values: See Storage Gateway endpoints and quotas in the Amazon Web Services General Reference.
gatewayRegion
- A value that indicates the Amazon Web Services Region where you want to store your data. The gateway
Amazon Web Services Region specified must be the same Amazon Web Services Region as the Amazon Web
Services Region in your Host
header in the request. For more information about available
Amazon Web Services Regions and endpoints for Storage Gateway, see Storage Gateway endpoints and quotas in
the Amazon Web Services General Reference.
Valid Values: See Storage Gateway endpoints and quotas in the Amazon Web Services General Reference.
public void setGatewayType(String gatewayType)
A value 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 CACHED
.
Valid Values: STORED
| CACHED
| VTL
| FILE_S3
|
FILE_FSX_SMB
gatewayType
- A value 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 CACHED
.
Valid Values: STORED
| CACHED
| VTL
| FILE_S3
|
FILE_FSX_SMB
public String getGatewayType()
A value 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 CACHED
.
Valid Values: STORED
| CACHED
| VTL
| FILE_S3
|
FILE_FSX_SMB
CACHED
.
Valid Values: STORED
| CACHED
| VTL
| FILE_S3
|
FILE_FSX_SMB
public ActivateGatewayRequest withGatewayType(String gatewayType)
A value 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 CACHED
.
Valid Values: STORED
| CACHED
| VTL
| FILE_S3
|
FILE_FSX_SMB
gatewayType
- A value 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 CACHED
.
Valid Values: STORED
| CACHED
| VTL
| FILE_S3
|
FILE_FSX_SMB
public void setTapeDriveType(String tapeDriveType)
The value that indicates the type of tape drive to use for tape gateway. This field is optional.
Valid Values: IBM-ULT3580-TD5
tapeDriveType
- The value that indicates the type of tape drive to use for tape gateway. This field is optional.
Valid Values: IBM-ULT3580-TD5
public String getTapeDriveType()
The value that indicates the type of tape drive to use for tape gateway. This field is optional.
Valid Values: IBM-ULT3580-TD5
Valid Values: IBM-ULT3580-TD5
public ActivateGatewayRequest withTapeDriveType(String tapeDriveType)
The value that indicates the type of tape drive to use for tape gateway. This field is optional.
Valid Values: IBM-ULT3580-TD5
tapeDriveType
- The value that indicates the type of tape drive to use for tape gateway. This field is optional.
Valid Values: IBM-ULT3580-TD5
public void setMediumChangerType(String mediumChangerType)
The value that indicates the type of medium changer to use for tape gateway. This field is optional.
Valid Values: STK-L700
| AWS-Gateway-VTL
| IBM-03584L32-0402
mediumChangerType
- The value that indicates the type of medium changer to use for tape gateway. This field is optional.
Valid Values: STK-L700
| AWS-Gateway-VTL
| IBM-03584L32-0402
public String getMediumChangerType()
The value that indicates the type of medium changer to use for tape gateway. This field is optional.
Valid Values: STK-L700
| AWS-Gateway-VTL
| IBM-03584L32-0402
Valid Values: STK-L700
| AWS-Gateway-VTL
| IBM-03584L32-0402
public ActivateGatewayRequest withMediumChangerType(String mediumChangerType)
The value that indicates the type of medium changer to use for tape gateway. This field is optional.
Valid Values: STK-L700
| AWS-Gateway-VTL
| IBM-03584L32-0402
mediumChangerType
- The value that indicates the type of medium changer to use for tape gateway. This field is optional.
Valid Values: STK-L700
| AWS-Gateway-VTL
| IBM-03584L32-0402
public List<Tag> getTags()
A list of up to 50 tags that you can assign to the gateway. Each tag is a key-value pair.
Valid characters for key and value are letters, spaces, and numbers that can be represented in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256 characters.
Valid characters for key and value are letters, spaces, and numbers that can be represented in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256 characters.
public void setTags(Collection<Tag> tags)
A list of up to 50 tags that you can assign to the gateway. Each tag is a key-value pair.
Valid characters for key and value are letters, spaces, and numbers that can be represented in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256 characters.
tags
- A list of up to 50 tags that you can assign to the gateway. Each tag is a key-value pair. Valid characters for key and value are letters, spaces, and numbers that can be represented in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256 characters.
public ActivateGatewayRequest withTags(Tag... tags)
A list of up to 50 tags that you can assign to the gateway. Each tag is a key-value pair.
Valid characters for key and value are letters, spaces, and numbers that can be represented in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256 characters.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of up to 50 tags that you can assign to the gateway. Each tag is a key-value pair. Valid characters for key and value are letters, spaces, and numbers that can be represented in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256 characters.
public ActivateGatewayRequest withTags(Collection<Tag> tags)
A list of up to 50 tags that you can assign to the gateway. Each tag is a key-value pair.
Valid characters for key and value are letters, spaces, and numbers that can be represented in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256 characters.
tags
- A list of up to 50 tags that you can assign to the gateway. Each tag is a key-value pair. Valid characters for key and value are letters, spaces, and numbers that can be represented in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256 characters.
public String toString()
toString
in class Object
Object.toString()
public ActivateGatewayRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()