|
|||||||
| 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
public class AmazonElasticLoadBalancingClient
Client for accessing AmazonElasticLoadBalancing. All service calls made using this client are blocking, and will not return until the service call completes.
| Constructor Summary | |
|---|---|
AmazonElasticLoadBalancingClient(AWSCredentials awsCredentials)
Constructs a new client to invoke service methods on AmazonElasticLoadBalancing using the specified AWS account credentials. |
|
AmazonElasticLoadBalancingClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on AmazonElasticLoadBalancing using the specified AWS account credentials and client configuration options. |
|
| Methods inherited from class com.amazonaws.AmazonWebServiceClient |
|---|
setEndpoint, shutdown |
| 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 |
|---|
setEndpoint, shutdown |
| Constructor Detail |
|---|
public AmazonElasticLoadBalancingClient(AWSCredentials awsCredentials)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials - The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.
public AmazonElasticLoadBalancingClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials - The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.clientConfiguration - The client configuration options controlling how this
client connects to AmazonElasticLoadBalancing
(ex: proxy settings, retry counts, etc.).| Method Detail |
|---|
public SetLoadBalancerPoliciesOfListenerResult setLoadBalancerPoliciesOfListener(SetLoadBalancerPoliciesOfListenerRequest setLoadBalancerPoliciesOfListenerRequest)
throws AmazonServiceException,
AmazonClientException
setLoadBalancerPoliciesOfListener in interface AmazonElasticLoadBalancingsetLoadBalancerPoliciesOfListenerRequest - Container for the
necessary parameters to execute the SetLoadBalancerPoliciesOfListener
service method on AmazonElasticLoadBalancing.
ListenerNotFoundException
PolicyNotFoundException
InvalidConfigurationRequestException
LoadBalancerNotFoundException
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 DescribeLoadBalancersResult describeLoadBalancers(DescribeLoadBalancersRequest describeLoadBalancersRequest)
throws AmazonServiceException,
AmazonClientException
describeLoadBalancers in interface AmazonElasticLoadBalancingdescribeLoadBalancersRequest - Container for the necessary
parameters to execute the DescribeLoadBalancers service method on
AmazonElasticLoadBalancing.
LoadBalancerNotFoundException
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 CreateAppCookieStickinessPolicyResult createAppCookieStickinessPolicy(CreateAppCookieStickinessPolicyRequest createAppCookieStickinessPolicyRequest)
throws AmazonServiceException,
AmazonClientException
createAppCookieStickinessPolicy in interface AmazonElasticLoadBalancingcreateAppCookieStickinessPolicyRequest - Container for the
necessary parameters to execute the CreateAppCookieStickinessPolicy
service method on AmazonElasticLoadBalancing.
InvalidConfigurationRequestException
DuplicatePolicyNameException
LoadBalancerNotFoundException
TooManyPoliciesException
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 DisableAvailabilityZonesForLoadBalancerResult disableAvailabilityZonesForLoadBalancer(DisableAvailabilityZonesForLoadBalancerRequest disableAvailabilityZonesForLoadBalancerRequest)
throws AmazonServiceException,
AmazonClientException
disableAvailabilityZonesForLoadBalancer in interface AmazonElasticLoadBalancingdisableAvailabilityZonesForLoadBalancerRequest - Container for
the necessary parameters to execute the
DisableAvailabilityZonesForLoadBalancer service method on
AmazonElasticLoadBalancing.
InvalidConfigurationRequestException
LoadBalancerNotFoundException
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 DescribeInstanceHealthResult describeInstanceHealth(DescribeInstanceHealthRequest describeInstanceHealthRequest)
throws AmazonServiceException,
AmazonClientException
describeInstanceHealth in interface AmazonElasticLoadBalancingdescribeInstanceHealthRequest - Container for the necessary
parameters to execute the DescribeInstanceHealth service method on
AmazonElasticLoadBalancing.
InvalidInstanceException
LoadBalancerNotFoundException
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 CreateLoadBalancerResult createLoadBalancer(CreateLoadBalancerRequest createLoadBalancerRequest)
throws AmazonServiceException,
AmazonClientException
createLoadBalancer in interface AmazonElasticLoadBalancingcreateLoadBalancerRequest - Container for the necessary
parameters to execute the CreateLoadBalancer service method on
AmazonElasticLoadBalancing.
TooManyLoadBalancersException
DuplicateLoadBalancerNameException
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 RegisterInstancesWithLoadBalancerResult registerInstancesWithLoadBalancer(RegisterInstancesWithLoadBalancerRequest registerInstancesWithLoadBalancerRequest)
throws AmazonServiceException,
AmazonClientException
registerInstancesWithLoadBalancer in interface AmazonElasticLoadBalancingregisterInstancesWithLoadBalancerRequest - Container for the
necessary parameters to execute the RegisterInstancesWithLoadBalancer
service method on AmazonElasticLoadBalancing.
InvalidInstanceException
LoadBalancerNotFoundException
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 DeregisterInstancesFromLoadBalancerResult deregisterInstancesFromLoadBalancer(DeregisterInstancesFromLoadBalancerRequest deregisterInstancesFromLoadBalancerRequest)
throws AmazonServiceException,
AmazonClientException
deregisterInstancesFromLoadBalancer in interface AmazonElasticLoadBalancingderegisterInstancesFromLoadBalancerRequest - Container for the
necessary parameters to execute the
DeregisterInstancesFromLoadBalancer service method on
AmazonElasticLoadBalancing.
InvalidInstanceException
LoadBalancerNotFoundException
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 void deleteLoadBalancer(DeleteLoadBalancerRequest deleteLoadBalancerRequest)
throws AmazonServiceException,
AmazonClientException
deleteLoadBalancer in interface AmazonElasticLoadBalancingdeleteLoadBalancerRequest - Container for the necessary
parameters to execute the DeleteLoadBalancer service method 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 ConfigureHealthCheckResult configureHealthCheck(ConfigureHealthCheckRequest configureHealthCheckRequest)
throws AmazonServiceException,
AmazonClientException
configureHealthCheck in interface AmazonElasticLoadBalancingconfigureHealthCheckRequest - Container for the necessary
parameters to execute the ConfigureHealthCheck service method on
AmazonElasticLoadBalancing.
LoadBalancerNotFoundException
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 EnableAvailabilityZonesForLoadBalancerResult enableAvailabilityZonesForLoadBalancer(EnableAvailabilityZonesForLoadBalancerRequest enableAvailabilityZonesForLoadBalancerRequest)
throws AmazonServiceException,
AmazonClientException
enableAvailabilityZonesForLoadBalancer in interface AmazonElasticLoadBalancingenableAvailabilityZonesForLoadBalancerRequest - Container for the
necessary parameters to execute the
EnableAvailabilityZonesForLoadBalancer service method on
AmazonElasticLoadBalancing.
LoadBalancerNotFoundException
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 CreateLBCookieStickinessPolicyResult createLBCookieStickinessPolicy(CreateLBCookieStickinessPolicyRequest createLBCookieStickinessPolicyRequest)
throws AmazonServiceException,
AmazonClientException
createLBCookieStickinessPolicy in interface AmazonElasticLoadBalancingcreateLBCookieStickinessPolicyRequest - Container for the
necessary parameters to execute the CreateLBCookieStickinessPolicy
service method on AmazonElasticLoadBalancing.
InvalidConfigurationRequestException
DuplicatePolicyNameException
LoadBalancerNotFoundException
TooManyPoliciesException
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 DeleteLoadBalancerPolicyResult deleteLoadBalancerPolicy(DeleteLoadBalancerPolicyRequest deleteLoadBalancerPolicyRequest)
throws AmazonServiceException,
AmazonClientException
deleteLoadBalancerPolicy in interface AmazonElasticLoadBalancingdeleteLoadBalancerPolicyRequest - Container for the necessary
parameters to execute the DeleteLoadBalancerPolicy service method on
AmazonElasticLoadBalancing.
InvalidConfigurationRequestException
LoadBalancerNotFoundException
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 DescribeLoadBalancersResult describeLoadBalancers()
throws AmazonServiceException,
AmazonClientException
describeLoadBalancers in interface AmazonElasticLoadBalancingLoadBalancerNotFoundException
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 | ||||||