|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceClient
com.amazonaws.services.elasticloadbalancing.AmazonElasticLoadBalancingClient
com.amazonaws.services.elasticloadbalancing.AmazonElasticLoadBalancingAsyncClient
public class AmazonElasticLoadBalancingAsyncClient
Client for accessing AmazonElasticLoadBalancing. All calls made using this client are non-blocking and will immediately return a Java Future. Callers must use the Future object to determine when the service call has actually completed.
Constructor Summary | |
---|---|
AmazonElasticLoadBalancingAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on AmazonElasticLoadBalancing using the specified AWS account credentials. |
|
AmazonElasticLoadBalancingAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AmazonElasticLoadBalancing using the specified AWS account credentials, executor service, and client configuration options. |
|
AmazonElasticLoadBalancingAsyncClient(AWSCredentials awsCredentials,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AmazonElasticLoadBalancing using the specified AWS account credentials and executor service. |
Methods inherited from class com.amazonaws.AmazonWebServiceClient |
---|
setEndpoint |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.amazonaws.services.elasticloadbalancing.AmazonElasticLoadBalancing |
---|
configureHealthCheck, createAppCookieStickinessPolicy, createLBCookieStickinessPolicy, createLoadBalancer, deleteLoadBalancer, deleteLoadBalancerPolicy, deregisterInstancesFromLoadBalancer, describeInstanceHealth, describeLoadBalancers, describeLoadBalancers, disableAvailabilityZonesForLoadBalancer, enableAvailabilityZonesForLoadBalancer, registerInstancesWithLoadBalancer, setEndpoint, setLoadBalancerPoliciesOfListener |
Constructor Detail |
---|
public AmazonElasticLoadBalancingAsyncClient(AWSCredentials awsCredentials)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials
- The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.public AmazonElasticLoadBalancingAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials
- The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.executorService
- The executor service by which all asynchronous requests will
be executed.public AmazonElasticLoadBalancingAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials
- The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy
settings, etc).executorService
- The executor service by which all asynchronous requests will
be executed.Method Detail |
---|
public ExecutorService getExecutorService()
public Future<SetLoadBalancerPoliciesOfListenerResult> setLoadBalancerPoliciesOfListenerAsync(SetLoadBalancerPoliciesOfListenerRequest setLoadBalancerPoliciesOfListenerRequest) throws AmazonServiceException, AmazonClientException
setLoadBalancerPoliciesOfListenerAsync
in interface AmazonElasticLoadBalancingAsync
setLoadBalancerPoliciesOfListenerRequest
- Container for the
necessary parameters to execute the SetLoadBalancerPoliciesOfListener
operation on AmazonElasticLoadBalancing.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonElasticLoadBalancing indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeLoadBalancersResult> describeLoadBalancersAsync(DescribeLoadBalancersRequest describeLoadBalancersRequest) throws AmazonServiceException, AmazonClientException
describeLoadBalancersAsync
in interface AmazonElasticLoadBalancingAsync
describeLoadBalancersRequest
- Container for the necessary
parameters to execute the DescribeLoadBalancers operation on
AmazonElasticLoadBalancing.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonElasticLoadBalancing indicating
either a problem with the data in the request, or a server side issue.public Future<CreateAppCookieStickinessPolicyResult> createAppCookieStickinessPolicyAsync(CreateAppCookieStickinessPolicyRequest createAppCookieStickinessPolicyRequest) throws AmazonServiceException, AmazonClientException
createAppCookieStickinessPolicyAsync
in interface AmazonElasticLoadBalancingAsync
createAppCookieStickinessPolicyRequest
- Container for the
necessary parameters to execute the CreateAppCookieStickinessPolicy
operation on AmazonElasticLoadBalancing.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonElasticLoadBalancing indicating
either a problem with the data in the request, or a server side issue.public Future<DisableAvailabilityZonesForLoadBalancerResult> disableAvailabilityZonesForLoadBalancerAsync(DisableAvailabilityZonesForLoadBalancerRequest disableAvailabilityZonesForLoadBalancerRequest) throws AmazonServiceException, AmazonClientException
disableAvailabilityZonesForLoadBalancerAsync
in interface AmazonElasticLoadBalancingAsync
disableAvailabilityZonesForLoadBalancerRequest
- Container for
the necessary parameters to execute the
DisableAvailabilityZonesForLoadBalancer operation on
AmazonElasticLoadBalancing.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonElasticLoadBalancing indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeInstanceHealthResult> describeInstanceHealthAsync(DescribeInstanceHealthRequest describeInstanceHealthRequest) throws AmazonServiceException, AmazonClientException
describeInstanceHealthAsync
in interface AmazonElasticLoadBalancingAsync
describeInstanceHealthRequest
- Container for the necessary
parameters to execute the DescribeInstanceHealth operation on
AmazonElasticLoadBalancing.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonElasticLoadBalancing indicating
either a problem with the data in the request, or a server side issue.public Future<CreateLoadBalancerResult> createLoadBalancerAsync(CreateLoadBalancerRequest createLoadBalancerRequest) throws AmazonServiceException, AmazonClientException
createLoadBalancerAsync
in interface AmazonElasticLoadBalancingAsync
createLoadBalancerRequest
- Container for the necessary
parameters to execute the CreateLoadBalancer operation on
AmazonElasticLoadBalancing.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonElasticLoadBalancing indicating
either a problem with the data in the request, or a server side issue.public Future<RegisterInstancesWithLoadBalancerResult> registerInstancesWithLoadBalancerAsync(RegisterInstancesWithLoadBalancerRequest registerInstancesWithLoadBalancerRequest) throws AmazonServiceException, AmazonClientException
registerInstancesWithLoadBalancerAsync
in interface AmazonElasticLoadBalancingAsync
registerInstancesWithLoadBalancerRequest
- Container for the
necessary parameters to execute the RegisterInstancesWithLoadBalancer
operation on AmazonElasticLoadBalancing.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonElasticLoadBalancing indicating
either a problem with the data in the request, or a server side issue.public Future<DeregisterInstancesFromLoadBalancerResult> deregisterInstancesFromLoadBalancerAsync(DeregisterInstancesFromLoadBalancerRequest deregisterInstancesFromLoadBalancerRequest) throws AmazonServiceException, AmazonClientException
deregisterInstancesFromLoadBalancerAsync
in interface AmazonElasticLoadBalancingAsync
deregisterInstancesFromLoadBalancerRequest
- Container for the
necessary parameters to execute the
DeregisterInstancesFromLoadBalancer operation on
AmazonElasticLoadBalancing.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonElasticLoadBalancing indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteLoadBalancerAsync(DeleteLoadBalancerRequest deleteLoadBalancerRequest) throws AmazonServiceException, AmazonClientException
deleteLoadBalancerAsync
in interface AmazonElasticLoadBalancingAsync
deleteLoadBalancerRequest
- Container for the necessary
parameters to execute the DeleteLoadBalancer operation on
AmazonElasticLoadBalancing.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonElasticLoadBalancing indicating
either a problem with the data in the request, or a server side issue.public Future<ConfigureHealthCheckResult> configureHealthCheckAsync(ConfigureHealthCheckRequest configureHealthCheckRequest) throws AmazonServiceException, AmazonClientException
configureHealthCheckAsync
in interface AmazonElasticLoadBalancingAsync
configureHealthCheckRequest
- Container for the necessary
parameters to execute the ConfigureHealthCheck operation on
AmazonElasticLoadBalancing.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonElasticLoadBalancing indicating
either a problem with the data in the request, or a server side issue.public Future<EnableAvailabilityZonesForLoadBalancerResult> enableAvailabilityZonesForLoadBalancerAsync(EnableAvailabilityZonesForLoadBalancerRequest enableAvailabilityZonesForLoadBalancerRequest) throws AmazonServiceException, AmazonClientException
enableAvailabilityZonesForLoadBalancerAsync
in interface AmazonElasticLoadBalancingAsync
enableAvailabilityZonesForLoadBalancerRequest
- Container for the
necessary parameters to execute the
EnableAvailabilityZonesForLoadBalancer operation on
AmazonElasticLoadBalancing.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonElasticLoadBalancing indicating
either a problem with the data in the request, or a server side issue.public Future<CreateLBCookieStickinessPolicyResult> createLBCookieStickinessPolicyAsync(CreateLBCookieStickinessPolicyRequest createLBCookieStickinessPolicyRequest) throws AmazonServiceException, AmazonClientException
createLBCookieStickinessPolicyAsync
in interface AmazonElasticLoadBalancingAsync
createLBCookieStickinessPolicyRequest
- Container for the
necessary parameters to execute the CreateLBCookieStickinessPolicy
operation on AmazonElasticLoadBalancing.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonElasticLoadBalancing indicating
either a problem with the data in the request, or a server side issue.public Future<DeleteLoadBalancerPolicyResult> deleteLoadBalancerPolicyAsync(DeleteLoadBalancerPolicyRequest deleteLoadBalancerPolicyRequest) throws AmazonServiceException, AmazonClientException
deleteLoadBalancerPolicyAsync
in interface AmazonElasticLoadBalancingAsync
deleteLoadBalancerPolicyRequest
- Container for the necessary
parameters to execute the DeleteLoadBalancerPolicy operation on
AmazonElasticLoadBalancing.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonElasticLoadBalancing indicating
either a problem with the data in the request, or a server side issue.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |