Java com.amazonaws.services.ec2 AmazonEC2Client fields, constructors, methods, implement or subclass

Example usage for Java com.amazonaws.services.ec2 AmazonEC2Client fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.amazonaws.services.ec2 AmazonEC2Client.

The text is from its open source code.

Subclass

com.amazonaws.services.ec2.AmazonEC2Client has subclasses.
Click this link to see all its subclasses.

Constructor

AmazonEC2Client(ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on Amazon EC2.
AmazonEC2Client(AWSCredentials awsCredentials)
Constructs a new client to invoke service methods on Amazon EC2 using the specified AWS account credentials.
AmazonEC2Client(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new client to invoke service methods on Amazon EC2 using the specified AWS account credentials provider.
AmazonEC2Client(AwsSyncClientParams clientParams)
Constructs a new client to invoke service methods on Amazon EC2 using the specified parameters.
AmazonEC2Client()
Constructs a new client to invoke service methods on Amazon EC2.
AmazonEC2Client(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on Amazon EC2 using the specified AWS account credentials and client configuration options.
AmazonEC2Client(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on Amazon EC2 using the specified AWS account credentials provider and client configuration options.
AmazonEC2Client(AwsSyncClientParams clientParams, boolean endpointDiscoveryEnabled)
Constructs a new client to invoke service methods on Amazon EC2 using the specified parameters.

Method

AttachNetworkInterfaceResultattachNetworkInterface(AttachNetworkInterfaceRequest request)

Attaches a network interface to an instance.

AuthorizeSecurityGroupIngressResultauthorizeSecurityGroupIngress( AuthorizeSecurityGroupIngressRequest request)

Adds the specified ingress rules to a security group.

AmazonEC2ClientBuilderbuilder()
CancelSpotInstanceRequestsResultcancelSpotInstanceRequests(CancelSpotInstanceRequestsRequest request)

Cancels one or more Spot Instance requests.

CopySnapshotResultcopySnapshot(CopySnapshotRequest request)

Copies a point-in-time snapshot of an EBS volume and stores it in Amazon S3.

CreateImageResultcreateImage(CreateImageRequest request)

Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance that is either running or stopped.

CreateKeyPairResultcreateKeyPair(CreateKeyPairRequest request)

Creates a 2048-bit RSA key pair with the specified name.

CreateNetworkInterfaceResultcreateNetworkInterface(CreateNetworkInterfaceRequest request)

Creates a network interface in the specified subnet.

CreateSecurityGroupResultcreateSecurityGroup(CreateSecurityGroupRequest request)

Creates a security group.

CreateSnapshotResultcreateSnapshot(CreateSnapshotRequest request)

Creates a snapshot of an EBS volume and stores it in Amazon S3.

CreateTagsResultcreateTags(CreateTagsRequest request)

Adds or overwrites the specified tags for the specified Amazon EC2 resource or resources.

DeleteKeyPairResultdeleteKeyPair(DeleteKeyPairRequest request)

Deletes the specified key pair, by removing the public key from Amazon EC2.

DeleteNetworkInterfaceResultdeleteNetworkInterface(DeleteNetworkInterfaceRequest request)

Deletes the specified network interface.

DeleteSecurityGroupResultdeleteSecurityGroup(DeleteSecurityGroupRequest request)

Deletes a security group.

DeleteSnapshotResultdeleteSnapshot(DeleteSnapshotRequest request)

Deletes the specified snapshot.

DeleteTagsResultdeleteTags(DeleteTagsRequest request)

Deletes the specified set of tags from the specified set of resources.

DescribeAccountAttributesResultdescribeAccountAttributes()
DescribeAddressesResultdescribeAddresses()
DescribeAddressesResultdescribeAddresses(DescribeAddressesRequest request)

Describes the specified Elastic IP addresses or all of your Elastic IP addresses.

DescribeAvailabilityZonesResultdescribeAvailabilityZones()
DescribeAvailabilityZonesResultdescribeAvailabilityZones(DescribeAvailabilityZonesRequest request)

Describes the Availability Zones that are available to you.

DescribeImagesResultdescribeImages(DescribeImagesRequest request)

Describes the specified images (AMIs, AKIs, and ARIs) available to you or all of the images available to you.

DescribeInstanceAttributeResultdescribeInstanceAttribute(DescribeInstanceAttributeRequest request)

Describes the specified attribute of the specified instance.

DescribeInstancesResultdescribeInstances()
DescribeInstancesResultdescribeInstances(DescribeInstancesRequest request)

Describes the specified instances or all of AWS account's instances.

DescribeKeyPairsResultdescribeKeyPairs()
DescribeKeyPairsResultdescribeKeyPairs(DescribeKeyPairsRequest request)

Describes the specified key pairs or all of your key pairs.

DescribeNetworkInterfacesResultdescribeNetworkInterfaces(DescribeNetworkInterfacesRequest request)

Describes one or more of your network interfaces.

DescribePlacementGroupsResultdescribePlacementGroups(DescribePlacementGroupsRequest request)

Describes the specified placement groups or all of your placement groups.

DescribeRegionsResultdescribeRegions()
DescribeRegionsResultdescribeRegions(DescribeRegionsRequest request)

Describes the Regions that are enabled for your account, or all Regions.

DescribeReservedInstancesResultdescribeReservedInstances()
DescribeReservedInstancesOfferingsResultdescribeReservedInstancesOfferings( DescribeReservedInstancesOfferingsRequest request)

Describes Reserved Instance offerings that are available for purchase.

DescribeRouteTablesResultdescribeRouteTables(DescribeRouteTablesRequest request)

Describes one or more of your route tables.

DescribeSecurityGroupsResultdescribeSecurityGroups(DescribeSecurityGroupsRequest request)

Describes the specified security groups or all of your security groups.

DescribeSecurityGroupsResultdescribeSecurityGroups()
DescribeSnapshotsResultdescribeSnapshots(DescribeSnapshotsRequest request)

Describes the specified EBS snapshots available to you or all of the EBS snapshots available to you.

DescribeSpotInstanceRequestsResultdescribeSpotInstanceRequests( DescribeSpotInstanceRequestsRequest request)

Describes the specified Spot Instance requests.

DescribeSpotPriceHistoryResultdescribeSpotPriceHistory(DescribeSpotPriceHistoryRequest request)

Describes the Spot price history.

DescribeSubnetsResultdescribeSubnets(DescribeSubnetsRequest request)

Describes one or more of your subnets.

DescribeSubnetsResultdescribeSubnets()
DescribeVolumesResultdescribeVolumes(DescribeVolumesRequest request)

Describes the specified EBS volumes or all of your EBS volumes.

DescribeVpcsResultdescribeVpcs(DescribeVpcsRequest request)

Describes one or more of your VPCs.

DescribeVpcsResultdescribeVpcs()
DetachNetworkInterfaceResultdetachNetworkInterface(DetachNetworkInterfaceRequest request)

Detaches a network interface from an instance.

GetConsoleScreenshotResultgetConsoleScreenshot(GetConsoleScreenshotRequest request)

Retrieve a JPG-format screenshot of a running instance to help with troubleshooting.

ImportKeyPairResultimportKeyPair(ImportKeyPairRequest request)

Imports the public key from an RSA key pair that you created with a third-party tool.

ModifyInstanceAttributeResultmodifyInstanceAttribute(ModifyInstanceAttributeRequest request)

Modifies the specified attribute of the specified instance.

ModifyNetworkInterfaceAttributeResultmodifyNetworkInterfaceAttribute( ModifyNetworkInterfaceAttributeRequest request)

Modifies the specified network interface attribute.

RequestSpotInstancesResultrequestSpotInstances(RequestSpotInstancesRequest request)

Creates a Spot Instance request.

RevokeSecurityGroupIngressResultrevokeSecurityGroupIngress(RevokeSecurityGroupIngressRequest request)

Removes the specified ingress rules from a security group.

RunInstancesResultrunInstances(RunInstancesRequest request)

Launches the specified number of instances using an AMI for which you have permissions.

voidsetEndpoint(String endpoint)
Overrides the default endpoint for this client.
voidsetEndpoint(String endpoint, String serviceName, String regionId)
Allows specifying the endpoint along with signing information (service name and signing region).
voidsetRegion(Region region)
An alternative to AmazonWebServiceClient#setEndpoint(String) , sets the regional endpoint for this client's service calls.
voidsetServiceNameIntern(String serviceName)
An internal method used to explicitly override the service name computed by the default implementation.
voidshutdown()
StartInstancesResultstartInstances(StartInstancesRequest request)

Starts an Amazon EBS-backed instance that you've previously stopped.

StopInstancesResultstopInstances(StopInstancesRequest request)

Stops an Amazon EBS-backed instance.

TerminateInstancesResultterminateInstances(TerminateInstancesRequest request)

Shuts down the specified instances.