public class RegisterImageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<RegisterImageRequest>
NOOP
Constructor and Description |
---|
RegisterImageRequest()
Default constructor for RegisterImageRequest object.
|
RegisterImageRequest(String imageLocation)
Constructs a new RegisterImageRequest object.
|
Modifier and Type | Method and Description |
---|---|
RegisterImageRequest |
clone() |
boolean |
equals(Object obj) |
String |
getArchitecture()
The architecture of the AMI.
|
List<BlockDeviceMapping> |
getBlockDeviceMappings()
One or more block device mapping entries.
|
String |
getDescription()
A description for your AMI.
|
Request<RegisterImageRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getImageLocation()
The full path to your AMI manifest in Amazon S3 storage.
|
String |
getKernelId()
The ID of the kernel.
|
String |
getName()
A name for your AMI.
|
String |
getRamdiskId()
The ID of the RAM disk.
|
String |
getRootDeviceName()
The name of the root device (for example,
/dev/sda1 , or
/dev/xvda ). |
String |
getSriovNetSupport()
Set to
simple to enable enhanced networking for the AMI and
any instances that you launch from the AMI. |
String |
getVirtualizationType()
The type of virtualization.
|
int |
hashCode() |
void |
setArchitecture(ArchitectureValues architecture)
The architecture of the AMI.
|
void |
setArchitecture(String architecture)
The architecture of the AMI.
|
void |
setBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
One or more block device mapping entries.
|
void |
setDescription(String description)
A description for your AMI.
|
void |
setImageLocation(String imageLocation)
The full path to your AMI manifest in Amazon S3 storage.
|
void |
setKernelId(String kernelId)
The ID of the kernel.
|
void |
setName(String name)
A name for your AMI.
|
void |
setRamdiskId(String ramdiskId)
The ID of the RAM disk.
|
void |
setRootDeviceName(String rootDeviceName)
The name of the root device (for example,
/dev/sda1 , or
/dev/xvda ). |
void |
setSriovNetSupport(String sriovNetSupport)
Set to
simple to enable enhanced networking for the AMI and
any instances that you launch from the AMI. |
void |
setVirtualizationType(String virtualizationType)
The type of virtualization.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RegisterImageRequest |
withArchitecture(ArchitectureValues architecture)
The architecture of the AMI.
|
RegisterImageRequest |
withArchitecture(String architecture)
The architecture of the AMI.
|
RegisterImageRequest |
withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings)
One or more block device mapping entries.
|
RegisterImageRequest |
withBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
One or more block device mapping entries.
|
RegisterImageRequest |
withDescription(String description)
A description for your AMI.
|
RegisterImageRequest |
withImageLocation(String imageLocation)
The full path to your AMI manifest in Amazon S3 storage.
|
RegisterImageRequest |
withKernelId(String kernelId)
The ID of the kernel.
|
RegisterImageRequest |
withName(String name)
A name for your AMI.
|
RegisterImageRequest |
withRamdiskId(String ramdiskId)
The ID of the RAM disk.
|
RegisterImageRequest |
withRootDeviceName(String rootDeviceName)
The name of the root device (for example,
/dev/sda1 , or
/dev/xvda ). |
RegisterImageRequest |
withSriovNetSupport(String sriovNetSupport)
Set to
simple to enable enhanced networking for the AMI and
any instances that you launch from the AMI. |
RegisterImageRequest |
withVirtualizationType(String virtualizationType)
The type of virtualization.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public RegisterImageRequest()
public RegisterImageRequest(String imageLocation)
imageLocation
- The full path to your AMI manifest in Amazon S3 storage.public void setImageLocation(String imageLocation)
The full path to your AMI manifest in Amazon S3 storage.
imageLocation
- The full path to your AMI manifest in Amazon S3 storage.public String getImageLocation()
The full path to your AMI manifest in Amazon S3 storage.
public RegisterImageRequest withImageLocation(String imageLocation)
The full path to your AMI manifest in Amazon S3 storage.
imageLocation
- The full path to your AMI manifest in Amazon S3 storage.public void setName(String name)
A name for your AMI.
Constraints: 3-128 alphanumeric characters, parentheses (()), square brackets ([]), spaces ( ), periods (.), slashes (/), dashes (-), single quotes ('), at-signs (@), or underscores(_)
name
- A name for your AMI.
Constraints: 3-128 alphanumeric characters, parentheses (()), square brackets ([]), spaces ( ), periods (.), slashes (/), dashes (-), single quotes ('), at-signs (@), or underscores(_)
public String getName()
A name for your AMI.
Constraints: 3-128 alphanumeric characters, parentheses (()), square brackets ([]), spaces ( ), periods (.), slashes (/), dashes (-), single quotes ('), at-signs (@), or underscores(_)
Constraints: 3-128 alphanumeric characters, parentheses (()), square brackets ([]), spaces ( ), periods (.), slashes (/), dashes (-), single quotes ('), at-signs (@), or underscores(_)
public RegisterImageRequest withName(String name)
A name for your AMI.
Constraints: 3-128 alphanumeric characters, parentheses (()), square brackets ([]), spaces ( ), periods (.), slashes (/), dashes (-), single quotes ('), at-signs (@), or underscores(_)
name
- A name for your AMI.
Constraints: 3-128 alphanumeric characters, parentheses (()), square brackets ([]), spaces ( ), periods (.), slashes (/), dashes (-), single quotes ('), at-signs (@), or underscores(_)
public void setDescription(String description)
A description for your AMI.
description
- A description for your AMI.public String getDescription()
A description for your AMI.
public RegisterImageRequest withDescription(String description)
A description for your AMI.
description
- A description for your AMI.public void setArchitecture(String architecture)
The architecture of the AMI.
Default: For Amazon EBS-backed AMIs, i386
. For instance
store-backed AMIs, the architecture specified in the manifest file.
architecture
- The architecture of the AMI.
Default: For Amazon EBS-backed AMIs, i386
. For
instance store-backed AMIs, the architecture specified in the
manifest file.
ArchitectureValues
public String getArchitecture()
The architecture of the AMI.
Default: For Amazon EBS-backed AMIs, i386
. For instance
store-backed AMIs, the architecture specified in the manifest file.
Default: For Amazon EBS-backed AMIs, i386
. For
instance store-backed AMIs, the architecture specified in the
manifest file.
ArchitectureValues
public RegisterImageRequest withArchitecture(String architecture)
The architecture of the AMI.
Default: For Amazon EBS-backed AMIs, i386
. For instance
store-backed AMIs, the architecture specified in the manifest file.
architecture
- The architecture of the AMI.
Default: For Amazon EBS-backed AMIs, i386
. For
instance store-backed AMIs, the architecture specified in the
manifest file.
ArchitectureValues
public void setArchitecture(ArchitectureValues architecture)
The architecture of the AMI.
Default: For Amazon EBS-backed AMIs, i386
. For instance
store-backed AMIs, the architecture specified in the manifest file.
architecture
- The architecture of the AMI.
Default: For Amazon EBS-backed AMIs, i386
. For
instance store-backed AMIs, the architecture specified in the
manifest file.
ArchitectureValues
public RegisterImageRequest withArchitecture(ArchitectureValues architecture)
The architecture of the AMI.
Default: For Amazon EBS-backed AMIs, i386
. For instance
store-backed AMIs, the architecture specified in the manifest file.
architecture
- The architecture of the AMI.
Default: For Amazon EBS-backed AMIs, i386
. For
instance store-backed AMIs, the architecture specified in the
manifest file.
ArchitectureValues
public void setKernelId(String kernelId)
The ID of the kernel.
kernelId
- The ID of the kernel.public String getKernelId()
The ID of the kernel.
public RegisterImageRequest withKernelId(String kernelId)
The ID of the kernel.
kernelId
- The ID of the kernel.public void setRamdiskId(String ramdiskId)
The ID of the RAM disk.
ramdiskId
- The ID of the RAM disk.public String getRamdiskId()
The ID of the RAM disk.
public RegisterImageRequest withRamdiskId(String ramdiskId)
The ID of the RAM disk.
ramdiskId
- The ID of the RAM disk.public void setRootDeviceName(String rootDeviceName)
The name of the root device (for example, /dev/sda1
, or
/dev/xvda
).
rootDeviceName
- The name of the root device (for example, /dev/sda1
,
or /dev/xvda
).public String getRootDeviceName()
The name of the root device (for example, /dev/sda1
, or
/dev/xvda
).
/dev/sda1
,
or /dev/xvda
).public RegisterImageRequest withRootDeviceName(String rootDeviceName)
The name of the root device (for example, /dev/sda1
, or
/dev/xvda
).
rootDeviceName
- The name of the root device (for example, /dev/sda1
,
or /dev/xvda
).public List<BlockDeviceMapping> getBlockDeviceMappings()
One or more block device mapping entries.
public void setBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
One or more block device mapping entries.
blockDeviceMappings
- One or more block device mapping entries.public RegisterImageRequest withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings)
One or more block device mapping entries.
NOTE: This method appends the values to the existing list (if
any). Use setBlockDeviceMappings(java.util.Collection)
or
withBlockDeviceMappings(java.util.Collection)
if you want to
override the existing values.
blockDeviceMappings
- One or more block device mapping entries.public RegisterImageRequest withBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
One or more block device mapping entries.
blockDeviceMappings
- One or more block device mapping entries.public void setVirtualizationType(String virtualizationType)
The type of virtualization.
Default: paravirtual
virtualizationType
- The type of virtualization.
Default: paravirtual
public String getVirtualizationType()
The type of virtualization.
Default: paravirtual
Default: paravirtual
public RegisterImageRequest withVirtualizationType(String virtualizationType)
The type of virtualization.
Default: paravirtual
virtualizationType
- The type of virtualization.
Default: paravirtual
public void setSriovNetSupport(String sriovNetSupport)
Set to simple
to enable enhanced networking for the AMI and
any instances that you launch from the AMI.
There is no way to disable enhanced networking at this time.
This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make instances launched from the AMI unreachable.
sriovNetSupport
- Set to simple
to enable enhanced networking for the
AMI and any instances that you launch from the AMI.
There is no way to disable enhanced networking at this time.
This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make instances launched from the AMI unreachable.
public String getSriovNetSupport()
Set to simple
to enable enhanced networking for the AMI and
any instances that you launch from the AMI.
There is no way to disable enhanced networking at this time.
This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make instances launched from the AMI unreachable.
simple
to enable enhanced networking for the
AMI and any instances that you launch from the AMI.
There is no way to disable enhanced networking at this time.
This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make instances launched from the AMI unreachable.
public RegisterImageRequest withSriovNetSupport(String sriovNetSupport)
Set to simple
to enable enhanced networking for the AMI and
any instances that you launch from the AMI.
There is no way to disable enhanced networking at this time.
This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make instances launched from the AMI unreachable.
sriovNetSupport
- Set to simple
to enable enhanced networking for the
AMI and any instances that you launch from the AMI.
There is no way to disable enhanced networking at this time.
This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make instances launched from the AMI unreachable.
public Request<RegisterImageRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<RegisterImageRequest>
public String toString()
toString
in class Object
Object.toString()
public RegisterImageRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.