@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonLightsailAsync extends AmazonLightsail
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonLightsailAsync
instead.
Amazon Lightsail is the easiest way to get started with AWS for developers who just need virtual private servers. Lightsail includes everything you need to launch your project quickly - a virtual machine, SSD-based storage, data transfer, DNS management, and a static IP - for a low, predictable price. You manage those Lightsail servers through the Lightsail console or by using the API or command-line interface (CLI).
For more information about Lightsail concepts and tasks, see the Lightsail Dev Guide.
To use the Lightsail API or the CLI, you will need to use AWS Identity and Access Management (IAM) to generate access keys. For details about how to set this up, see the Lightsail Dev Guide.
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
Future<AllocateStaticIpResult> |
allocateStaticIpAsync(AllocateStaticIpRequest allocateStaticIpRequest)
Allocates a static IP address.
|
Future<AllocateStaticIpResult> |
allocateStaticIpAsync(AllocateStaticIpRequest allocateStaticIpRequest,
AsyncHandler<AllocateStaticIpRequest,AllocateStaticIpResult> asyncHandler)
Allocates a static IP address.
|
Future<AttachStaticIpResult> |
attachStaticIpAsync(AttachStaticIpRequest attachStaticIpRequest)
Attaches a static IP address to a specific Amazon Lightsail instance.
|
Future<AttachStaticIpResult> |
attachStaticIpAsync(AttachStaticIpRequest attachStaticIpRequest,
AsyncHandler<AttachStaticIpRequest,AttachStaticIpResult> asyncHandler)
Attaches a static IP address to a specific Amazon Lightsail instance.
|
Future<CloseInstancePublicPortsResult> |
closeInstancePublicPortsAsync(CloseInstancePublicPortsRequest closeInstancePublicPortsRequest)
Closes the public ports on a specific Amazon Lightsail instance.
|
Future<CloseInstancePublicPortsResult> |
closeInstancePublicPortsAsync(CloseInstancePublicPortsRequest closeInstancePublicPortsRequest,
AsyncHandler<CloseInstancePublicPortsRequest,CloseInstancePublicPortsResult> asyncHandler)
Closes the public ports on a specific Amazon Lightsail instance.
|
Future<CreateDomainResult> |
createDomainAsync(CreateDomainRequest createDomainRequest)
Creates a domain resource for the specified domain (e.g., example.com).
|
Future<CreateDomainResult> |
createDomainAsync(CreateDomainRequest createDomainRequest,
AsyncHandler<CreateDomainRequest,CreateDomainResult> asyncHandler)
Creates a domain resource for the specified domain (e.g., example.com).
|
Future<CreateDomainEntryResult> |
createDomainEntryAsync(CreateDomainEntryRequest createDomainEntryRequest)
Creates one of the following entry records associated with the domain: A record, CNAME record, TXT record, or MX
record.
|
Future<CreateDomainEntryResult> |
createDomainEntryAsync(CreateDomainEntryRequest createDomainEntryRequest,
AsyncHandler<CreateDomainEntryRequest,CreateDomainEntryResult> asyncHandler)
Creates one of the following entry records associated with the domain: A record, CNAME record, TXT record, or MX
record.
|
Future<CreateInstancesResult> |
createInstancesAsync(CreateInstancesRequest createInstancesRequest)
Creates one or more Amazon Lightsail virtual private servers, or instances.
|
Future<CreateInstancesResult> |
createInstancesAsync(CreateInstancesRequest createInstancesRequest,
AsyncHandler<CreateInstancesRequest,CreateInstancesResult> asyncHandler)
Creates one or more Amazon Lightsail virtual private servers, or instances.
|
Future<CreateInstancesFromSnapshotResult> |
createInstancesFromSnapshotAsync(CreateInstancesFromSnapshotRequest createInstancesFromSnapshotRequest)
Uses a specific snapshot as a blueprint for creating one or more new instances that are based on that identical
configuration.
|
Future<CreateInstancesFromSnapshotResult> |
createInstancesFromSnapshotAsync(CreateInstancesFromSnapshotRequest createInstancesFromSnapshotRequest,
AsyncHandler<CreateInstancesFromSnapshotRequest,CreateInstancesFromSnapshotResult> asyncHandler)
Uses a specific snapshot as a blueprint for creating one or more new instances that are based on that identical
configuration.
|
Future<CreateInstanceSnapshotResult> |
createInstanceSnapshotAsync(CreateInstanceSnapshotRequest createInstanceSnapshotRequest)
Creates a snapshot of a specific virtual private server, or instance.
|
Future<CreateInstanceSnapshotResult> |
createInstanceSnapshotAsync(CreateInstanceSnapshotRequest createInstanceSnapshotRequest,
AsyncHandler<CreateInstanceSnapshotRequest,CreateInstanceSnapshotResult> asyncHandler)
Creates a snapshot of a specific virtual private server, or instance.
|
Future<CreateKeyPairResult> |
createKeyPairAsync(CreateKeyPairRequest createKeyPairRequest)
Creates sn SSH key pair.
|
Future<CreateKeyPairResult> |
createKeyPairAsync(CreateKeyPairRequest createKeyPairRequest,
AsyncHandler<CreateKeyPairRequest,CreateKeyPairResult> asyncHandler)
Creates sn SSH key pair.
|
Future<DeleteDomainResult> |
deleteDomainAsync(DeleteDomainRequest deleteDomainRequest)
Deletes the specified domain recordset and all of its domain records.
|
Future<DeleteDomainResult> |
deleteDomainAsync(DeleteDomainRequest deleteDomainRequest,
AsyncHandler<DeleteDomainRequest,DeleteDomainResult> asyncHandler)
Deletes the specified domain recordset and all of its domain records.
|
Future<DeleteDomainEntryResult> |
deleteDomainEntryAsync(DeleteDomainEntryRequest deleteDomainEntryRequest)
Deletes a specific domain entry.
|
Future<DeleteDomainEntryResult> |
deleteDomainEntryAsync(DeleteDomainEntryRequest deleteDomainEntryRequest,
AsyncHandler<DeleteDomainEntryRequest,DeleteDomainEntryResult> asyncHandler)
Deletes a specific domain entry.
|
Future<DeleteInstanceResult> |
deleteInstanceAsync(DeleteInstanceRequest deleteInstanceRequest)
Deletes a specific Amazon Lightsail virtual private server, or instance.
|
Future<DeleteInstanceResult> |
deleteInstanceAsync(DeleteInstanceRequest deleteInstanceRequest,
AsyncHandler<DeleteInstanceRequest,DeleteInstanceResult> asyncHandler)
Deletes a specific Amazon Lightsail virtual private server, or instance.
|
Future<DeleteInstanceSnapshotResult> |
deleteInstanceSnapshotAsync(DeleteInstanceSnapshotRequest deleteInstanceSnapshotRequest)
Deletes a specific snapshot of a virtual private server (or instance).
|
Future<DeleteInstanceSnapshotResult> |
deleteInstanceSnapshotAsync(DeleteInstanceSnapshotRequest deleteInstanceSnapshotRequest,
AsyncHandler<DeleteInstanceSnapshotRequest,DeleteInstanceSnapshotResult> asyncHandler)
Deletes a specific snapshot of a virtual private server (or instance).
|
Future<DeleteKeyPairResult> |
deleteKeyPairAsync(DeleteKeyPairRequest deleteKeyPairRequest)
Deletes a specific SSH key pair.
|
Future<DeleteKeyPairResult> |
deleteKeyPairAsync(DeleteKeyPairRequest deleteKeyPairRequest,
AsyncHandler<DeleteKeyPairRequest,DeleteKeyPairResult> asyncHandler)
Deletes a specific SSH key pair.
|
Future<DetachStaticIpResult> |
detachStaticIpAsync(DetachStaticIpRequest detachStaticIpRequest)
Detaches a static IP from the Amazon Lightsail instance to which it is attached.
|
Future<DetachStaticIpResult> |
detachStaticIpAsync(DetachStaticIpRequest detachStaticIpRequest,
AsyncHandler<DetachStaticIpRequest,DetachStaticIpResult> asyncHandler)
Detaches a static IP from the Amazon Lightsail instance to which it is attached.
|
Future<DownloadDefaultKeyPairResult> |
downloadDefaultKeyPairAsync(DownloadDefaultKeyPairRequest downloadDefaultKeyPairRequest)
Downloads the default SSH key pair from the user's account.
|
Future<DownloadDefaultKeyPairResult> |
downloadDefaultKeyPairAsync(DownloadDefaultKeyPairRequest downloadDefaultKeyPairRequest,
AsyncHandler<DownloadDefaultKeyPairRequest,DownloadDefaultKeyPairResult> asyncHandler)
Downloads the default SSH key pair from the user's account.
|
Future<GetActiveNamesResult> |
getActiveNamesAsync(GetActiveNamesRequest getActiveNamesRequest)
Returns the names of all active (not deleted) resources.
|
Future<GetActiveNamesResult> |
getActiveNamesAsync(GetActiveNamesRequest getActiveNamesRequest,
AsyncHandler<GetActiveNamesRequest,GetActiveNamesResult> asyncHandler)
Returns the names of all active (not deleted) resources.
|
Future<GetBlueprintsResult> |
getBlueprintsAsync(GetBlueprintsRequest getBlueprintsRequest)
Returns the list of available instance images, or blueprints.
|
Future<GetBlueprintsResult> |
getBlueprintsAsync(GetBlueprintsRequest getBlueprintsRequest,
AsyncHandler<GetBlueprintsRequest,GetBlueprintsResult> asyncHandler)
Returns the list of available instance images, or blueprints.
|
Future<GetBundlesResult> |
getBundlesAsync(GetBundlesRequest getBundlesRequest)
Returns the list of bundles that are available for purchase.
|
Future<GetBundlesResult> |
getBundlesAsync(GetBundlesRequest getBundlesRequest,
AsyncHandler<GetBundlesRequest,GetBundlesResult> asyncHandler)
Returns the list of bundles that are available for purchase.
|
Future<GetDomainResult> |
getDomainAsync(GetDomainRequest getDomainRequest)
Returns information about a specific domain recordset.
|
Future<GetDomainResult> |
getDomainAsync(GetDomainRequest getDomainRequest,
AsyncHandler<GetDomainRequest,GetDomainResult> asyncHandler)
Returns information about a specific domain recordset.
|
Future<GetDomainsResult> |
getDomainsAsync(GetDomainsRequest getDomainsRequest)
Returns a list of all domains in the user's account.
|
Future<GetDomainsResult> |
getDomainsAsync(GetDomainsRequest getDomainsRequest,
AsyncHandler<GetDomainsRequest,GetDomainsResult> asyncHandler)
Returns a list of all domains in the user's account.
|
Future<GetInstanceAccessDetailsResult> |
getInstanceAccessDetailsAsync(GetInstanceAccessDetailsRequest getInstanceAccessDetailsRequest)
Returns temporary SSH keys you can use to connect to a specific virtual private server, or instance.
|
Future<GetInstanceAccessDetailsResult> |
getInstanceAccessDetailsAsync(GetInstanceAccessDetailsRequest getInstanceAccessDetailsRequest,
AsyncHandler<GetInstanceAccessDetailsRequest,GetInstanceAccessDetailsResult> asyncHandler)
Returns temporary SSH keys you can use to connect to a specific virtual private server, or instance.
|
Future<GetInstanceResult> |
getInstanceAsync(GetInstanceRequest getInstanceRequest)
Returns information about a specific Amazon Lightsail instance, which is a virtual private server.
|
Future<GetInstanceResult> |
getInstanceAsync(GetInstanceRequest getInstanceRequest,
AsyncHandler<GetInstanceRequest,GetInstanceResult> asyncHandler)
Returns information about a specific Amazon Lightsail instance, which is a virtual private server.
|
Future<GetInstanceMetricDataResult> |
getInstanceMetricDataAsync(GetInstanceMetricDataRequest getInstanceMetricDataRequest)
Returns the data points for the specified Amazon Lightsail instance metric, given an instance name.
|
Future<GetInstanceMetricDataResult> |
getInstanceMetricDataAsync(GetInstanceMetricDataRequest getInstanceMetricDataRequest,
AsyncHandler<GetInstanceMetricDataRequest,GetInstanceMetricDataResult> asyncHandler)
Returns the data points for the specified Amazon Lightsail instance metric, given an instance name.
|
Future<GetInstancePortStatesResult> |
getInstancePortStatesAsync(GetInstancePortStatesRequest getInstancePortStatesRequest)
Returns the port states for a specific virtual private server, or instance.
|
Future<GetInstancePortStatesResult> |
getInstancePortStatesAsync(GetInstancePortStatesRequest getInstancePortStatesRequest,
AsyncHandler<GetInstancePortStatesRequest,GetInstancePortStatesResult> asyncHandler)
Returns the port states for a specific virtual private server, or instance.
|
Future<GetInstancesResult> |
getInstancesAsync(GetInstancesRequest getInstancesRequest)
Returns information about all Amazon Lightsail virtual private servers, or instances.
|
Future<GetInstancesResult> |
getInstancesAsync(GetInstancesRequest getInstancesRequest,
AsyncHandler<GetInstancesRequest,GetInstancesResult> asyncHandler)
Returns information about all Amazon Lightsail virtual private servers, or instances.
|
Future<GetInstanceSnapshotResult> |
getInstanceSnapshotAsync(GetInstanceSnapshotRequest getInstanceSnapshotRequest)
Returns information about a specific instance snapshot.
|
Future<GetInstanceSnapshotResult> |
getInstanceSnapshotAsync(GetInstanceSnapshotRequest getInstanceSnapshotRequest,
AsyncHandler<GetInstanceSnapshotRequest,GetInstanceSnapshotResult> asyncHandler)
Returns information about a specific instance snapshot.
|
Future<GetInstanceSnapshotsResult> |
getInstanceSnapshotsAsync(GetInstanceSnapshotsRequest getInstanceSnapshotsRequest)
Returns all instance snapshots for the user's account.
|
Future<GetInstanceSnapshotsResult> |
getInstanceSnapshotsAsync(GetInstanceSnapshotsRequest getInstanceSnapshotsRequest,
AsyncHandler<GetInstanceSnapshotsRequest,GetInstanceSnapshotsResult> asyncHandler)
Returns all instance snapshots for the user's account.
|
Future<GetInstanceStateResult> |
getInstanceStateAsync(GetInstanceStateRequest getInstanceStateRequest)
Returns the state of a specific instance.
|
Future<GetInstanceStateResult> |
getInstanceStateAsync(GetInstanceStateRequest getInstanceStateRequest,
AsyncHandler<GetInstanceStateRequest,GetInstanceStateResult> asyncHandler)
Returns the state of a specific instance.
|
Future<GetKeyPairResult> |
getKeyPairAsync(GetKeyPairRequest getKeyPairRequest)
Returns information about a specific key pair.
|
Future<GetKeyPairResult> |
getKeyPairAsync(GetKeyPairRequest getKeyPairRequest,
AsyncHandler<GetKeyPairRequest,GetKeyPairResult> asyncHandler)
Returns information about a specific key pair.
|
Future<GetKeyPairsResult> |
getKeyPairsAsync(GetKeyPairsRequest getKeyPairsRequest)
Returns information about all key pairs in the user's account.
|
Future<GetKeyPairsResult> |
getKeyPairsAsync(GetKeyPairsRequest getKeyPairsRequest,
AsyncHandler<GetKeyPairsRequest,GetKeyPairsResult> asyncHandler)
Returns information about all key pairs in the user's account.
|
Future<GetOperationResult> |
getOperationAsync(GetOperationRequest getOperationRequest)
Returns information about a specific operation.
|
Future<GetOperationResult> |
getOperationAsync(GetOperationRequest getOperationRequest,
AsyncHandler<GetOperationRequest,GetOperationResult> asyncHandler)
Returns information about a specific operation.
|
Future<GetOperationsResult> |
getOperationsAsync(GetOperationsRequest getOperationsRequest)
Returns information about all operations.
|
Future<GetOperationsResult> |
getOperationsAsync(GetOperationsRequest getOperationsRequest,
AsyncHandler<GetOperationsRequest,GetOperationsResult> asyncHandler)
Returns information about all operations.
|
Future<GetOperationsForResourceResult> |
getOperationsForResourceAsync(GetOperationsForResourceRequest getOperationsForResourceRequest)
Gets operations for a specific resource (e.g., an instance or a static IP).
|
Future<GetOperationsForResourceResult> |
getOperationsForResourceAsync(GetOperationsForResourceRequest getOperationsForResourceRequest,
AsyncHandler<GetOperationsForResourceRequest,GetOperationsForResourceResult> asyncHandler)
Gets operations for a specific resource (e.g., an instance or a static IP).
|
Future<GetRegionsResult> |
getRegionsAsync(GetRegionsRequest getRegionsRequest)
Returns a list of all valid regions for Amazon Lightsail.
|
Future<GetRegionsResult> |
getRegionsAsync(GetRegionsRequest getRegionsRequest,
AsyncHandler<GetRegionsRequest,GetRegionsResult> asyncHandler)
Returns a list of all valid regions for Amazon Lightsail.
|
Future<GetStaticIpResult> |
getStaticIpAsync(GetStaticIpRequest getStaticIpRequest)
Returns information about a specific static IP.
|
Future<GetStaticIpResult> |
getStaticIpAsync(GetStaticIpRequest getStaticIpRequest,
AsyncHandler<GetStaticIpRequest,GetStaticIpResult> asyncHandler)
Returns information about a specific static IP.
|
Future<GetStaticIpsResult> |
getStaticIpsAsync(GetStaticIpsRequest getStaticIpsRequest)
Returns information about all static IPs in the user's account.
|
Future<GetStaticIpsResult> |
getStaticIpsAsync(GetStaticIpsRequest getStaticIpsRequest,
AsyncHandler<GetStaticIpsRequest,GetStaticIpsResult> asyncHandler)
Returns information about all static IPs in the user's account.
|
Future<ImportKeyPairResult> |
importKeyPairAsync(ImportKeyPairRequest importKeyPairRequest)
Imports a public SSH key from a specific key pair.
|
Future<ImportKeyPairResult> |
importKeyPairAsync(ImportKeyPairRequest importKeyPairRequest,
AsyncHandler<ImportKeyPairRequest,ImportKeyPairResult> asyncHandler)
Imports a public SSH key from a specific key pair.
|
Future<IsVpcPeeredResult> |
isVpcPeeredAsync(IsVpcPeeredRequest isVpcPeeredRequest)
Returns a Boolean value indicating whether your Lightsail VPC is peered.
|
Future<IsVpcPeeredResult> |
isVpcPeeredAsync(IsVpcPeeredRequest isVpcPeeredRequest,
AsyncHandler<IsVpcPeeredRequest,IsVpcPeeredResult> asyncHandler)
Returns a Boolean value indicating whether your Lightsail VPC is peered.
|
Future<OpenInstancePublicPortsResult> |
openInstancePublicPortsAsync(OpenInstancePublicPortsRequest openInstancePublicPortsRequest)
Adds public ports to an Amazon Lightsail instance.
|
Future<OpenInstancePublicPortsResult> |
openInstancePublicPortsAsync(OpenInstancePublicPortsRequest openInstancePublicPortsRequest,
AsyncHandler<OpenInstancePublicPortsRequest,OpenInstancePublicPortsResult> asyncHandler)
Adds public ports to an Amazon Lightsail instance.
|
Future<PeerVpcResult> |
peerVpcAsync(PeerVpcRequest peerVpcRequest)
Tries to peer the Lightsail VPC with the user's default VPC.
|
Future<PeerVpcResult> |
peerVpcAsync(PeerVpcRequest peerVpcRequest,
AsyncHandler<PeerVpcRequest,PeerVpcResult> asyncHandler)
Tries to peer the Lightsail VPC with the user's default VPC.
|
Future<PutInstancePublicPortsResult> |
putInstancePublicPortsAsync(PutInstancePublicPortsRequest putInstancePublicPortsRequest)
Sets the specified open ports for an Amazon Lightsail instance, and closes all ports for every protocol not
included in the current request.
|
Future<PutInstancePublicPortsResult> |
putInstancePublicPortsAsync(PutInstancePublicPortsRequest putInstancePublicPortsRequest,
AsyncHandler<PutInstancePublicPortsRequest,PutInstancePublicPortsResult> asyncHandler)
Sets the specified open ports for an Amazon Lightsail instance, and closes all ports for every protocol not
included in the current request.
|
Future<RebootInstanceResult> |
rebootInstanceAsync(RebootInstanceRequest rebootInstanceRequest)
Restarts a specific instance.
|
Future<RebootInstanceResult> |
rebootInstanceAsync(RebootInstanceRequest rebootInstanceRequest,
AsyncHandler<RebootInstanceRequest,RebootInstanceResult> asyncHandler)
Restarts a specific instance.
|
Future<ReleaseStaticIpResult> |
releaseStaticIpAsync(ReleaseStaticIpRequest releaseStaticIpRequest)
Deletes a specific static IP from your account.
|
Future<ReleaseStaticIpResult> |
releaseStaticIpAsync(ReleaseStaticIpRequest releaseStaticIpRequest,
AsyncHandler<ReleaseStaticIpRequest,ReleaseStaticIpResult> asyncHandler)
Deletes a specific static IP from your account.
|
Future<StartInstanceResult> |
startInstanceAsync(StartInstanceRequest startInstanceRequest)
Starts a specific Amazon Lightsail instance from a stopped state.
|
Future<StartInstanceResult> |
startInstanceAsync(StartInstanceRequest startInstanceRequest,
AsyncHandler<StartInstanceRequest,StartInstanceResult> asyncHandler)
Starts a specific Amazon Lightsail instance from a stopped state.
|
Future<StopInstanceResult> |
stopInstanceAsync(StopInstanceRequest stopInstanceRequest)
Stops a specific Amazon Lightsail instance that is currently running.
|
Future<StopInstanceResult> |
stopInstanceAsync(StopInstanceRequest stopInstanceRequest,
AsyncHandler<StopInstanceRequest,StopInstanceResult> asyncHandler)
Stops a specific Amazon Lightsail instance that is currently running.
|
Future<UnpeerVpcResult> |
unpeerVpcAsync(UnpeerVpcRequest unpeerVpcRequest)
Attempts to unpeer the Lightsail VPC from the user's default VPC.
|
Future<UnpeerVpcResult> |
unpeerVpcAsync(UnpeerVpcRequest unpeerVpcRequest,
AsyncHandler<UnpeerVpcRequest,UnpeerVpcResult> asyncHandler)
Attempts to unpeer the Lightsail VPC from the user's default VPC.
|
Future<UpdateDomainEntryResult> |
updateDomainEntryAsync(UpdateDomainEntryRequest updateDomainEntryRequest)
Updates a domain recordset after it is created.
|
Future<UpdateDomainEntryResult> |
updateDomainEntryAsync(UpdateDomainEntryRequest updateDomainEntryRequest,
AsyncHandler<UpdateDomainEntryRequest,UpdateDomainEntryResult> asyncHandler)
Updates a domain recordset after it is created.
|
allocateStaticIp, attachStaticIp, closeInstancePublicPorts, createDomain, createDomainEntry, createInstances, createInstancesFromSnapshot, createInstanceSnapshot, createKeyPair, deleteDomain, deleteDomainEntry, deleteInstance, deleteInstanceSnapshot, deleteKeyPair, detachStaticIp, downloadDefaultKeyPair, getActiveNames, getBlueprints, getBundles, getCachedResponseMetadata, getDomain, getDomains, getInstance, getInstanceAccessDetails, getInstanceMetricData, getInstancePortStates, getInstances, getInstanceSnapshot, getInstanceSnapshots, getInstanceState, getKeyPair, getKeyPairs, getOperation, getOperations, getOperationsForResource, getRegions, getStaticIp, getStaticIps, importKeyPair, isVpcPeered, openInstancePublicPorts, peerVpc, putInstancePublicPorts, rebootInstance, releaseStaticIp, setEndpoint, setRegion, shutdown, startInstance, stopInstance, unpeerVpc, updateDomainEntry
Future<AllocateStaticIpResult> allocateStaticIpAsync(AllocateStaticIpRequest allocateStaticIpRequest)
Allocates a static IP address.
allocateStaticIpRequest
- Future<AllocateStaticIpResult> allocateStaticIpAsync(AllocateStaticIpRequest allocateStaticIpRequest, AsyncHandler<AllocateStaticIpRequest,AllocateStaticIpResult> asyncHandler)
Allocates a static IP address.
allocateStaticIpRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<AttachStaticIpResult> attachStaticIpAsync(AttachStaticIpRequest attachStaticIpRequest)
Attaches a static IP address to a specific Amazon Lightsail instance.
attachStaticIpRequest
- Future<AttachStaticIpResult> attachStaticIpAsync(AttachStaticIpRequest attachStaticIpRequest, AsyncHandler<AttachStaticIpRequest,AttachStaticIpResult> asyncHandler)
Attaches a static IP address to a specific Amazon Lightsail instance.
attachStaticIpRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CloseInstancePublicPortsResult> closeInstancePublicPortsAsync(CloseInstancePublicPortsRequest closeInstancePublicPortsRequest)
Closes the public ports on a specific Amazon Lightsail instance.
closeInstancePublicPortsRequest
- Future<CloseInstancePublicPortsResult> closeInstancePublicPortsAsync(CloseInstancePublicPortsRequest closeInstancePublicPortsRequest, AsyncHandler<CloseInstancePublicPortsRequest,CloseInstancePublicPortsResult> asyncHandler)
Closes the public ports on a specific Amazon Lightsail instance.
closeInstancePublicPortsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateDomainResult> createDomainAsync(CreateDomainRequest createDomainRequest)
Creates a domain resource for the specified domain (e.g., example.com).
createDomainRequest
- Future<CreateDomainResult> createDomainAsync(CreateDomainRequest createDomainRequest, AsyncHandler<CreateDomainRequest,CreateDomainResult> asyncHandler)
Creates a domain resource for the specified domain (e.g., example.com).
createDomainRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateDomainEntryResult> createDomainEntryAsync(CreateDomainEntryRequest createDomainEntryRequest)
Creates one of the following entry records associated with the domain: A record, CNAME record, TXT record, or MX record.
createDomainEntryRequest
- Future<CreateDomainEntryResult> createDomainEntryAsync(CreateDomainEntryRequest createDomainEntryRequest, AsyncHandler<CreateDomainEntryRequest,CreateDomainEntryResult> asyncHandler)
Creates one of the following entry records associated with the domain: A record, CNAME record, TXT record, or MX record.
createDomainEntryRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateInstanceSnapshotResult> createInstanceSnapshotAsync(CreateInstanceSnapshotRequest createInstanceSnapshotRequest)
Creates a snapshot of a specific virtual private server, or instance. You can use a snapshot to create a new instance that is based on that snapshot.
createInstanceSnapshotRequest
- Future<CreateInstanceSnapshotResult> createInstanceSnapshotAsync(CreateInstanceSnapshotRequest createInstanceSnapshotRequest, AsyncHandler<CreateInstanceSnapshotRequest,CreateInstanceSnapshotResult> asyncHandler)
Creates a snapshot of a specific virtual private server, or instance. You can use a snapshot to create a new instance that is based on that snapshot.
createInstanceSnapshotRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateInstancesResult> createInstancesAsync(CreateInstancesRequest createInstancesRequest)
Creates one or more Amazon Lightsail virtual private servers, or instances.
createInstancesRequest
- Future<CreateInstancesResult> createInstancesAsync(CreateInstancesRequest createInstancesRequest, AsyncHandler<CreateInstancesRequest,CreateInstancesResult> asyncHandler)
Creates one or more Amazon Lightsail virtual private servers, or instances.
createInstancesRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateInstancesFromSnapshotResult> createInstancesFromSnapshotAsync(CreateInstancesFromSnapshotRequest createInstancesFromSnapshotRequest)
Uses a specific snapshot as a blueprint for creating one or more new instances that are based on that identical configuration.
createInstancesFromSnapshotRequest
- Future<CreateInstancesFromSnapshotResult> createInstancesFromSnapshotAsync(CreateInstancesFromSnapshotRequest createInstancesFromSnapshotRequest, AsyncHandler<CreateInstancesFromSnapshotRequest,CreateInstancesFromSnapshotResult> asyncHandler)
Uses a specific snapshot as a blueprint for creating one or more new instances that are based on that identical configuration.
createInstancesFromSnapshotRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateKeyPairResult> createKeyPairAsync(CreateKeyPairRequest createKeyPairRequest)
Creates sn SSH key pair.
createKeyPairRequest
- Future<CreateKeyPairResult> createKeyPairAsync(CreateKeyPairRequest createKeyPairRequest, AsyncHandler<CreateKeyPairRequest,CreateKeyPairResult> asyncHandler)
Creates sn SSH key pair.
createKeyPairRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteDomainResult> deleteDomainAsync(DeleteDomainRequest deleteDomainRequest)
Deletes the specified domain recordset and all of its domain records.
deleteDomainRequest
- Future<DeleteDomainResult> deleteDomainAsync(DeleteDomainRequest deleteDomainRequest, AsyncHandler<DeleteDomainRequest,DeleteDomainResult> asyncHandler)
Deletes the specified domain recordset and all of its domain records.
deleteDomainRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteDomainEntryResult> deleteDomainEntryAsync(DeleteDomainEntryRequest deleteDomainEntryRequest)
Deletes a specific domain entry.
deleteDomainEntryRequest
- Future<DeleteDomainEntryResult> deleteDomainEntryAsync(DeleteDomainEntryRequest deleteDomainEntryRequest, AsyncHandler<DeleteDomainEntryRequest,DeleteDomainEntryResult> asyncHandler)
Deletes a specific domain entry.
deleteDomainEntryRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteInstanceResult> deleteInstanceAsync(DeleteInstanceRequest deleteInstanceRequest)
Deletes a specific Amazon Lightsail virtual private server, or instance.
deleteInstanceRequest
- Future<DeleteInstanceResult> deleteInstanceAsync(DeleteInstanceRequest deleteInstanceRequest, AsyncHandler<DeleteInstanceRequest,DeleteInstanceResult> asyncHandler)
Deletes a specific Amazon Lightsail virtual private server, or instance.
deleteInstanceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteInstanceSnapshotResult> deleteInstanceSnapshotAsync(DeleteInstanceSnapshotRequest deleteInstanceSnapshotRequest)
Deletes a specific snapshot of a virtual private server (or instance).
deleteInstanceSnapshotRequest
- Future<DeleteInstanceSnapshotResult> deleteInstanceSnapshotAsync(DeleteInstanceSnapshotRequest deleteInstanceSnapshotRequest, AsyncHandler<DeleteInstanceSnapshotRequest,DeleteInstanceSnapshotResult> asyncHandler)
Deletes a specific snapshot of a virtual private server (or instance).
deleteInstanceSnapshotRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteKeyPairResult> deleteKeyPairAsync(DeleteKeyPairRequest deleteKeyPairRequest)
Deletes a specific SSH key pair.
deleteKeyPairRequest
- Future<DeleteKeyPairResult> deleteKeyPairAsync(DeleteKeyPairRequest deleteKeyPairRequest, AsyncHandler<DeleteKeyPairRequest,DeleteKeyPairResult> asyncHandler)
Deletes a specific SSH key pair.
deleteKeyPairRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DetachStaticIpResult> detachStaticIpAsync(DetachStaticIpRequest detachStaticIpRequest)
Detaches a static IP from the Amazon Lightsail instance to which it is attached.
detachStaticIpRequest
- Future<DetachStaticIpResult> detachStaticIpAsync(DetachStaticIpRequest detachStaticIpRequest, AsyncHandler<DetachStaticIpRequest,DetachStaticIpResult> asyncHandler)
Detaches a static IP from the Amazon Lightsail instance to which it is attached.
detachStaticIpRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DownloadDefaultKeyPairResult> downloadDefaultKeyPairAsync(DownloadDefaultKeyPairRequest downloadDefaultKeyPairRequest)
Downloads the default SSH key pair from the user's account.
downloadDefaultKeyPairRequest
- Future<DownloadDefaultKeyPairResult> downloadDefaultKeyPairAsync(DownloadDefaultKeyPairRequest downloadDefaultKeyPairRequest, AsyncHandler<DownloadDefaultKeyPairRequest,DownloadDefaultKeyPairResult> asyncHandler)
Downloads the default SSH key pair from the user's account.
downloadDefaultKeyPairRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetActiveNamesResult> getActiveNamesAsync(GetActiveNamesRequest getActiveNamesRequest)
Returns the names of all active (not deleted) resources.
getActiveNamesRequest
- Future<GetActiveNamesResult> getActiveNamesAsync(GetActiveNamesRequest getActiveNamesRequest, AsyncHandler<GetActiveNamesRequest,GetActiveNamesResult> asyncHandler)
Returns the names of all active (not deleted) resources.
getActiveNamesRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetBlueprintsResult> getBlueprintsAsync(GetBlueprintsRequest getBlueprintsRequest)
Returns the list of available instance images, or blueprints. You can use a blueprint to create a new virtual private server already running a specific operating system, as well as a preinstalled app or development stack. The software each instance is running depends on the blueprint image you choose.
getBlueprintsRequest
- Future<GetBlueprintsResult> getBlueprintsAsync(GetBlueprintsRequest getBlueprintsRequest, AsyncHandler<GetBlueprintsRequest,GetBlueprintsResult> asyncHandler)
Returns the list of available instance images, or blueprints. You can use a blueprint to create a new virtual private server already running a specific operating system, as well as a preinstalled app or development stack. The software each instance is running depends on the blueprint image you choose.
getBlueprintsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetBundlesResult> getBundlesAsync(GetBundlesRequest getBundlesRequest)
Returns the list of bundles that are available for purchase. A bundle describes the specs for your virtual private server (or instance).
getBundlesRequest
- Future<GetBundlesResult> getBundlesAsync(GetBundlesRequest getBundlesRequest, AsyncHandler<GetBundlesRequest,GetBundlesResult> asyncHandler)
Returns the list of bundles that are available for purchase. A bundle describes the specs for your virtual private server (or instance).
getBundlesRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetDomainResult> getDomainAsync(GetDomainRequest getDomainRequest)
Returns information about a specific domain recordset.
getDomainRequest
- Future<GetDomainResult> getDomainAsync(GetDomainRequest getDomainRequest, AsyncHandler<GetDomainRequest,GetDomainResult> asyncHandler)
Returns information about a specific domain recordset.
getDomainRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetDomainsResult> getDomainsAsync(GetDomainsRequest getDomainsRequest)
Returns a list of all domains in the user's account.
getDomainsRequest
- Future<GetDomainsResult> getDomainsAsync(GetDomainsRequest getDomainsRequest, AsyncHandler<GetDomainsRequest,GetDomainsResult> asyncHandler)
Returns a list of all domains in the user's account.
getDomainsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetInstanceResult> getInstanceAsync(GetInstanceRequest getInstanceRequest)
Returns information about a specific Amazon Lightsail instance, which is a virtual private server.
getInstanceRequest
- Future<GetInstanceResult> getInstanceAsync(GetInstanceRequest getInstanceRequest, AsyncHandler<GetInstanceRequest,GetInstanceResult> asyncHandler)
Returns information about a specific Amazon Lightsail instance, which is a virtual private server.
getInstanceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetInstanceAccessDetailsResult> getInstanceAccessDetailsAsync(GetInstanceAccessDetailsRequest getInstanceAccessDetailsRequest)
Returns temporary SSH keys you can use to connect to a specific virtual private server, or instance.
getInstanceAccessDetailsRequest
- Future<GetInstanceAccessDetailsResult> getInstanceAccessDetailsAsync(GetInstanceAccessDetailsRequest getInstanceAccessDetailsRequest, AsyncHandler<GetInstanceAccessDetailsRequest,GetInstanceAccessDetailsResult> asyncHandler)
Returns temporary SSH keys you can use to connect to a specific virtual private server, or instance.
getInstanceAccessDetailsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetInstanceMetricDataResult> getInstanceMetricDataAsync(GetInstanceMetricDataRequest getInstanceMetricDataRequest)
Returns the data points for the specified Amazon Lightsail instance metric, given an instance name.
getInstanceMetricDataRequest
- Future<GetInstanceMetricDataResult> getInstanceMetricDataAsync(GetInstanceMetricDataRequest getInstanceMetricDataRequest, AsyncHandler<GetInstanceMetricDataRequest,GetInstanceMetricDataResult> asyncHandler)
Returns the data points for the specified Amazon Lightsail instance metric, given an instance name.
getInstanceMetricDataRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetInstancePortStatesResult> getInstancePortStatesAsync(GetInstancePortStatesRequest getInstancePortStatesRequest)
Returns the port states for a specific virtual private server, or instance.
getInstancePortStatesRequest
- Future<GetInstancePortStatesResult> getInstancePortStatesAsync(GetInstancePortStatesRequest getInstancePortStatesRequest, AsyncHandler<GetInstancePortStatesRequest,GetInstancePortStatesResult> asyncHandler)
Returns the port states for a specific virtual private server, or instance.
getInstancePortStatesRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetInstanceSnapshotResult> getInstanceSnapshotAsync(GetInstanceSnapshotRequest getInstanceSnapshotRequest)
Returns information about a specific instance snapshot.
getInstanceSnapshotRequest
- Future<GetInstanceSnapshotResult> getInstanceSnapshotAsync(GetInstanceSnapshotRequest getInstanceSnapshotRequest, AsyncHandler<GetInstanceSnapshotRequest,GetInstanceSnapshotResult> asyncHandler)
Returns information about a specific instance snapshot.
getInstanceSnapshotRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetInstanceSnapshotsResult> getInstanceSnapshotsAsync(GetInstanceSnapshotsRequest getInstanceSnapshotsRequest)
Returns all instance snapshots for the user's account.
getInstanceSnapshotsRequest
- Future<GetInstanceSnapshotsResult> getInstanceSnapshotsAsync(GetInstanceSnapshotsRequest getInstanceSnapshotsRequest, AsyncHandler<GetInstanceSnapshotsRequest,GetInstanceSnapshotsResult> asyncHandler)
Returns all instance snapshots for the user's account.
getInstanceSnapshotsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetInstanceStateResult> getInstanceStateAsync(GetInstanceStateRequest getInstanceStateRequest)
Returns the state of a specific instance. Works on one instance at a time.
getInstanceStateRequest
- Future<GetInstanceStateResult> getInstanceStateAsync(GetInstanceStateRequest getInstanceStateRequest, AsyncHandler<GetInstanceStateRequest,GetInstanceStateResult> asyncHandler)
Returns the state of a specific instance. Works on one instance at a time.
getInstanceStateRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetInstancesResult> getInstancesAsync(GetInstancesRequest getInstancesRequest)
Returns information about all Amazon Lightsail virtual private servers, or instances.
getInstancesRequest
- Future<GetInstancesResult> getInstancesAsync(GetInstancesRequest getInstancesRequest, AsyncHandler<GetInstancesRequest,GetInstancesResult> asyncHandler)
Returns information about all Amazon Lightsail virtual private servers, or instances.
getInstancesRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetKeyPairResult> getKeyPairAsync(GetKeyPairRequest getKeyPairRequest)
Returns information about a specific key pair.
getKeyPairRequest
- Future<GetKeyPairResult> getKeyPairAsync(GetKeyPairRequest getKeyPairRequest, AsyncHandler<GetKeyPairRequest,GetKeyPairResult> asyncHandler)
Returns information about a specific key pair.
getKeyPairRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetKeyPairsResult> getKeyPairsAsync(GetKeyPairsRequest getKeyPairsRequest)
Returns information about all key pairs in the user's account.
getKeyPairsRequest
- Future<GetKeyPairsResult> getKeyPairsAsync(GetKeyPairsRequest getKeyPairsRequest, AsyncHandler<GetKeyPairsRequest,GetKeyPairsResult> asyncHandler)
Returns information about all key pairs in the user's account.
getKeyPairsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetOperationResult> getOperationAsync(GetOperationRequest getOperationRequest)
Returns information about a specific operation. Operations include events such as when you create an instance, allocate a static IP, attach a static IP, and so on.
getOperationRequest
- Future<GetOperationResult> getOperationAsync(GetOperationRequest getOperationRequest, AsyncHandler<GetOperationRequest,GetOperationResult> asyncHandler)
Returns information about a specific operation. Operations include events such as when you create an instance, allocate a static IP, attach a static IP, and so on.
getOperationRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetOperationsResult> getOperationsAsync(GetOperationsRequest getOperationsRequest)
Returns information about all operations.
Results are returned from oldest to newest, up to a maximum of 200. Results can be paged by making each
subsequent call to GetOperations
use the maximum (last) statusChangedAt
value from the
previous request.
getOperationsRequest
- Future<GetOperationsResult> getOperationsAsync(GetOperationsRequest getOperationsRequest, AsyncHandler<GetOperationsRequest,GetOperationsResult> asyncHandler)
Returns information about all operations.
Results are returned from oldest to newest, up to a maximum of 200. Results can be paged by making each
subsequent call to GetOperations
use the maximum (last) statusChangedAt
value from the
previous request.
getOperationsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetOperationsForResourceResult> getOperationsForResourceAsync(GetOperationsForResourceRequest getOperationsForResourceRequest)
Gets operations for a specific resource (e.g., an instance or a static IP).
getOperationsForResourceRequest
- Future<GetOperationsForResourceResult> getOperationsForResourceAsync(GetOperationsForResourceRequest getOperationsForResourceRequest, AsyncHandler<GetOperationsForResourceRequest,GetOperationsForResourceResult> asyncHandler)
Gets operations for a specific resource (e.g., an instance or a static IP).
getOperationsForResourceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetRegionsResult> getRegionsAsync(GetRegionsRequest getRegionsRequest)
Returns a list of all valid regions for Amazon Lightsail. Use the include availability zones
parameter to also return the availability zones in a region.
getRegionsRequest
- Future<GetRegionsResult> getRegionsAsync(GetRegionsRequest getRegionsRequest, AsyncHandler<GetRegionsRequest,GetRegionsResult> asyncHandler)
Returns a list of all valid regions for Amazon Lightsail. Use the include availability zones
parameter to also return the availability zones in a region.
getRegionsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetStaticIpResult> getStaticIpAsync(GetStaticIpRequest getStaticIpRequest)
Returns information about a specific static IP.
getStaticIpRequest
- Future<GetStaticIpResult> getStaticIpAsync(GetStaticIpRequest getStaticIpRequest, AsyncHandler<GetStaticIpRequest,GetStaticIpResult> asyncHandler)
Returns information about a specific static IP.
getStaticIpRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetStaticIpsResult> getStaticIpsAsync(GetStaticIpsRequest getStaticIpsRequest)
Returns information about all static IPs in the user's account.
getStaticIpsRequest
- Future<GetStaticIpsResult> getStaticIpsAsync(GetStaticIpsRequest getStaticIpsRequest, AsyncHandler<GetStaticIpsRequest,GetStaticIpsResult> asyncHandler)
Returns information about all static IPs in the user's account.
getStaticIpsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ImportKeyPairResult> importKeyPairAsync(ImportKeyPairRequest importKeyPairRequest)
Imports a public SSH key from a specific key pair.
importKeyPairRequest
- Future<ImportKeyPairResult> importKeyPairAsync(ImportKeyPairRequest importKeyPairRequest, AsyncHandler<ImportKeyPairRequest,ImportKeyPairResult> asyncHandler)
Imports a public SSH key from a specific key pair.
importKeyPairRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<IsVpcPeeredResult> isVpcPeeredAsync(IsVpcPeeredRequest isVpcPeeredRequest)
Returns a Boolean value indicating whether your Lightsail VPC is peered.
isVpcPeeredRequest
- Future<IsVpcPeeredResult> isVpcPeeredAsync(IsVpcPeeredRequest isVpcPeeredRequest, AsyncHandler<IsVpcPeeredRequest,IsVpcPeeredResult> asyncHandler)
Returns a Boolean value indicating whether your Lightsail VPC is peered.
isVpcPeeredRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<OpenInstancePublicPortsResult> openInstancePublicPortsAsync(OpenInstancePublicPortsRequest openInstancePublicPortsRequest)
Adds public ports to an Amazon Lightsail instance.
openInstancePublicPortsRequest
- Future<OpenInstancePublicPortsResult> openInstancePublicPortsAsync(OpenInstancePublicPortsRequest openInstancePublicPortsRequest, AsyncHandler<OpenInstancePublicPortsRequest,OpenInstancePublicPortsResult> asyncHandler)
Adds public ports to an Amazon Lightsail instance.
openInstancePublicPortsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<PeerVpcResult> peerVpcAsync(PeerVpcRequest peerVpcRequest)
Tries to peer the Lightsail VPC with the user's default VPC.
peerVpcRequest
- Future<PeerVpcResult> peerVpcAsync(PeerVpcRequest peerVpcRequest, AsyncHandler<PeerVpcRequest,PeerVpcResult> asyncHandler)
Tries to peer the Lightsail VPC with the user's default VPC.
peerVpcRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<PutInstancePublicPortsResult> putInstancePublicPortsAsync(PutInstancePublicPortsRequest putInstancePublicPortsRequest)
Sets the specified open ports for an Amazon Lightsail instance, and closes all ports for every protocol not included in the current request.
putInstancePublicPortsRequest
- Future<PutInstancePublicPortsResult> putInstancePublicPortsAsync(PutInstancePublicPortsRequest putInstancePublicPortsRequest, AsyncHandler<PutInstancePublicPortsRequest,PutInstancePublicPortsResult> asyncHandler)
Sets the specified open ports for an Amazon Lightsail instance, and closes all ports for every protocol not included in the current request.
putInstancePublicPortsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<RebootInstanceResult> rebootInstanceAsync(RebootInstanceRequest rebootInstanceRequest)
Restarts a specific instance. When your Amazon Lightsail instance is finished rebooting, Lightsail assigns a new public IP address. To use the same IP address after restarting, create a static IP address and attach it to the instance.
rebootInstanceRequest
- Future<RebootInstanceResult> rebootInstanceAsync(RebootInstanceRequest rebootInstanceRequest, AsyncHandler<RebootInstanceRequest,RebootInstanceResult> asyncHandler)
Restarts a specific instance. When your Amazon Lightsail instance is finished rebooting, Lightsail assigns a new public IP address. To use the same IP address after restarting, create a static IP address and attach it to the instance.
rebootInstanceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ReleaseStaticIpResult> releaseStaticIpAsync(ReleaseStaticIpRequest releaseStaticIpRequest)
Deletes a specific static IP from your account.
releaseStaticIpRequest
- Future<ReleaseStaticIpResult> releaseStaticIpAsync(ReleaseStaticIpRequest releaseStaticIpRequest, AsyncHandler<ReleaseStaticIpRequest,ReleaseStaticIpResult> asyncHandler)
Deletes a specific static IP from your account.
releaseStaticIpRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<StartInstanceResult> startInstanceAsync(StartInstanceRequest startInstanceRequest)
Starts a specific Amazon Lightsail instance from a stopped state. To restart an instance, use the reboot instance operation.
startInstanceRequest
- Future<StartInstanceResult> startInstanceAsync(StartInstanceRequest startInstanceRequest, AsyncHandler<StartInstanceRequest,StartInstanceResult> asyncHandler)
Starts a specific Amazon Lightsail instance from a stopped state. To restart an instance, use the reboot instance operation.
startInstanceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<StopInstanceResult> stopInstanceAsync(StopInstanceRequest stopInstanceRequest)
Stops a specific Amazon Lightsail instance that is currently running.
stopInstanceRequest
- Future<StopInstanceResult> stopInstanceAsync(StopInstanceRequest stopInstanceRequest, AsyncHandler<StopInstanceRequest,StopInstanceResult> asyncHandler)
Stops a specific Amazon Lightsail instance that is currently running.
stopInstanceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UnpeerVpcResult> unpeerVpcAsync(UnpeerVpcRequest unpeerVpcRequest)
Attempts to unpeer the Lightsail VPC from the user's default VPC.
unpeerVpcRequest
- Future<UnpeerVpcResult> unpeerVpcAsync(UnpeerVpcRequest unpeerVpcRequest, AsyncHandler<UnpeerVpcRequest,UnpeerVpcResult> asyncHandler)
Attempts to unpeer the Lightsail VPC from the user's default VPC.
unpeerVpcRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UpdateDomainEntryResult> updateDomainEntryAsync(UpdateDomainEntryRequest updateDomainEntryRequest)
Updates a domain recordset after it is created.
updateDomainEntryRequest
- Future<UpdateDomainEntryResult> updateDomainEntryAsync(UpdateDomainEntryRequest updateDomainEntryRequest, AsyncHandler<UpdateDomainEntryRequest,UpdateDomainEntryResult> asyncHandler)
Updates a domain recordset after it is created.
updateDomainEntryRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.