@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegisterImageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<RegisterImageRequest>
Contains the parameters for RegisterImage.
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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getArchitecture()
The architecture of the AMI.
|
List<String> |
getBillingProducts()
The billing product codes.
|
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.
|
Boolean |
getEnaSupport()
Set to
true to enable enhanced networking with ENA for the AMI and any instances that you launch
from the AMI. |
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 device name of the root device volume (for example,
/dev/sda1 ). |
String |
getSriovNetSupport()
Set to
simple to enable enhanced networking with the Intel 82599 Virtual Function interface for the
AMI and any instances that you launch from the AMI. |
String |
getVirtualizationType()
The type of virtualization.
|
int |
hashCode() |
Boolean |
isEnaSupport()
Set to
true to enable enhanced networking with ENA for the AMI and any instances that you launch
from the AMI. |
void |
setArchitecture(ArchitectureValues architecture)
The architecture of the AMI.
|
void |
setArchitecture(String architecture)
The architecture of the AMI.
|
void |
setBillingProducts(Collection<String> billingProducts)
The billing product codes.
|
void |
setBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
One or more block device mapping entries.
|
void |
setDescription(String description)
A description for your AMI.
|
void |
setEnaSupport(Boolean enaSupport)
Set to
true to enable enhanced networking with ENA for the AMI and any instances that you launch
from the 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 device name of the root device volume (for example,
/dev/sda1 ). |
void |
setSriovNetSupport(String sriovNetSupport)
Set to
simple to enable enhanced networking with the Intel 82599 Virtual Function interface 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 |
withBillingProducts(Collection<String> billingProducts)
The billing product codes.
|
RegisterImageRequest |
withBillingProducts(String... billingProducts)
The billing product codes.
|
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 |
withEnaSupport(Boolean enaSupport)
Set to
true to enable enhanced networking with ENA for the AMI and any instances that you launch
from the 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 device name of the root device volume (for example,
/dev/sda1 ). |
RegisterImageRequest |
withSriovNetSupport(String sriovNetSupport)
Set to
simple to enable enhanced networking with the Intel 82599 Virtual Function interface for the
AMI and any instances that you launch from the AMI. |
RegisterImageRequest |
withVirtualizationType(String virtualizationType)
The type of virtualization.
|
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 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 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 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 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 setEnaSupport(Boolean enaSupport)
Set to true
to enable enhanced networking with ENA for the AMI and any instances that you launch
from the AMI.
This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make instances launched from the AMI unreachable.
enaSupport
- Set to true
to enable enhanced networking with ENA for the AMI and any instances that you
launch from the AMI.
This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make instances launched from the AMI unreachable.
public Boolean getEnaSupport()
Set to true
to enable enhanced networking with ENA for the AMI and any instances that you launch
from the AMI.
This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make instances launched from the AMI unreachable.
true
to enable enhanced networking with ENA for the AMI and any instances that you
launch from the AMI.
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 withEnaSupport(Boolean enaSupport)
Set to true
to enable enhanced networking with ENA for the AMI and any instances that you launch
from the AMI.
This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make instances launched from the AMI unreachable.
enaSupport
- Set to true
to enable enhanced networking with ENA for the AMI and any instances that you
launch from the AMI.
This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make instances launched from the AMI unreachable.
public Boolean isEnaSupport()
Set to true
to enable enhanced networking with ENA for the AMI and any instances that you launch
from the AMI.
This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make instances launched from the AMI unreachable.
true
to enable enhanced networking with ENA for the AMI and any instances that you
launch from the AMI.
This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make instances launched from the AMI unreachable.
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 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 List<String> getBillingProducts()
The billing product codes. Your account must be authorized to specify billing product codes. Otherwise, you can use the AWS Marketplace to bill for the use of an AMI.
public void setBillingProducts(Collection<String> billingProducts)
The billing product codes. Your account must be authorized to specify billing product codes. Otherwise, you can use the AWS Marketplace to bill for the use of an AMI.
billingProducts
- The billing product codes. Your account must be authorized to specify billing product codes. Otherwise,
you can use the AWS Marketplace to bill for the use of an AMI.public RegisterImageRequest withBillingProducts(String... billingProducts)
The billing product codes. Your account must be authorized to specify billing product codes. Otherwise, you can use the AWS Marketplace to bill for the use of an AMI.
NOTE: This method appends the values to the existing list (if any). Use
setBillingProducts(java.util.Collection)
or withBillingProducts(java.util.Collection)
if you
want to override the existing values.
billingProducts
- The billing product codes. Your account must be authorized to specify billing product codes. Otherwise,
you can use the AWS Marketplace to bill for the use of an AMI.public RegisterImageRequest withBillingProducts(Collection<String> billingProducts)
The billing product codes. Your account must be authorized to specify billing product codes. Otherwise, you can use the AWS Marketplace to bill for the use of an AMI.
billingProducts
- The billing product codes. Your account must be authorized to specify billing product codes. Otherwise,
you can use the AWS Marketplace to bill for the use of an AMI.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 device name of the root device volume (for example, /dev/sda1
).
rootDeviceName
- The device name of the root device volume (for example, /dev/sda1
).public String getRootDeviceName()
The device name of the root device volume (for example, /dev/sda1
).
/dev/sda1
).public RegisterImageRequest withRootDeviceName(String rootDeviceName)
The device name of the root device volume (for example, /dev/sda1
).
rootDeviceName
- The device name of the root device volume (for example, /dev/sda1
).public void setSriovNetSupport(String sriovNetSupport)
Set to simple
to enable enhanced networking with the Intel 82599 Virtual Function interface for the
AMI and any instances that you launch from the AMI.
There is no way to disable sriovNetSupport
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 with the Intel 82599 Virtual Function interface
for the AMI and any instances that you launch from the AMI.
There is no way to disable sriovNetSupport
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 with the Intel 82599 Virtual Function interface for the
AMI and any instances that you launch from the AMI.
There is no way to disable sriovNetSupport
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 with the Intel 82599 Virtual Function interface
for the AMI and any instances that you launch from the AMI.
There is no way to disable sriovNetSupport
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 with the Intel 82599 Virtual Function interface for the
AMI and any instances that you launch from the AMI.
There is no way to disable sriovNetSupport
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 with the Intel 82599 Virtual Function interface
for the AMI and any instances that you launch from the AMI.
There is no way to disable sriovNetSupport
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 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 Request<RegisterImageRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<RegisterImageRequest>
public String toString()
toString
in class Object
Object.toString()
public RegisterImageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.