| Package | Description |
|---|---|
| software.amazon.awssdk.services.ec2 |
|
| software.amazon.awssdk.services.ec2.model |
| Modifier and Type | Method and Description |
|---|---|
default CompletableFuture<CreateImageResponse> |
Ec2AsyncClient.createImage(Consumer<CreateImageRequest.Builder> createImageRequest)
Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance that is either running or stopped.
|
default CreateImageResponse |
Ec2Client.createImage(Consumer<CreateImageRequest.Builder> createImageRequest)
Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance that is either running or stopped.
|
| Modifier and Type | Method and Description |
|---|---|
CreateImageRequest.Builder |
CreateImageRequest.Builder.blockDeviceMappings(BlockDeviceMapping... blockDeviceMappings)
The block device mappings.
|
CreateImageRequest.Builder |
CreateImageRequest.Builder.blockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
The block device mappings.
|
CreateImageRequest.Builder |
CreateImageRequest.Builder.blockDeviceMappings(Consumer<BlockDeviceMapping.Builder>... blockDeviceMappings)
The block device mappings.
|
static CreateImageRequest.Builder |
CreateImageRequest.builder() |
CreateImageRequest.Builder |
CreateImageRequest.Builder.description(String description)
A description for the new image.
|
CreateImageRequest.Builder |
CreateImageRequest.Builder.instanceId(String instanceId)
The ID of the instance.
|
CreateImageRequest.Builder |
CreateImageRequest.Builder.name(String name)
A name for the new image.
|
CreateImageRequest.Builder |
CreateImageRequest.Builder.noReboot(Boolean noReboot)
By default, when Amazon EC2 creates the new AMI, it reboots the instance so that it can take snapshots of the
attached volumes while data is at rest, in order to ensure a consistent state.
|
CreateImageRequest.Builder |
CreateImageRequest.Builder.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateImageRequest.Builder |
CreateImageRequest.Builder.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateImageRequest.Builder |
CreateImageRequest.Builder.tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the AMI and snapshots on creation.
|
CreateImageRequest.Builder |
CreateImageRequest.Builder.tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to apply to the AMI and snapshots on creation.
|
CreateImageRequest.Builder |
CreateImageRequest.Builder.tagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the AMI and snapshots on creation.
|
CreateImageRequest.Builder |
CreateImageRequest.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends CreateImageRequest.Builder> |
CreateImageRequest.serializableBuilderClass() |
Copyright © 2023. All rights reserved.