@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LoadBalancer extends Object implements Serializable, Cloneable
Information about a load balancer.
Constructor and Description |
---|
LoadBalancer() |
Modifier and Type | Method and Description |
---|---|
LoadBalancer |
clone() |
boolean |
equals(Object obj) |
List<AvailabilityZone> |
getAvailabilityZones()
The Availability Zones for the load balancer.
|
String |
getCanonicalHostedZoneId()
The ID of the Amazon Route 53 hosted zone associated with the load balancer.
|
Date |
getCreatedTime()
The date and time the load balancer was created.
|
String |
getDNSName()
The public DNS name of the load balancer.
|
String |
getIpAddressType()
The type of IP addresses used by the subnets for your load balancer.
|
String |
getLoadBalancerArn()
The Amazon Resource Name (ARN) of the load balancer.
|
String |
getLoadBalancerName()
The name of the load balancer.
|
String |
getScheme()
The nodes of an Internet-facing load balancer have public IP addresses.
|
List<String> |
getSecurityGroups()
The IDs of the security groups for the load balancer.
|
LoadBalancerState |
getState()
The state of the load balancer.
|
String |
getType()
The type of load balancer.
|
String |
getVpcId()
The ID of the VPC for the load balancer.
|
int |
hashCode() |
void |
setAvailabilityZones(Collection<AvailabilityZone> availabilityZones)
The Availability Zones for the load balancer.
|
void |
setCanonicalHostedZoneId(String canonicalHostedZoneId)
The ID of the Amazon Route 53 hosted zone associated with the load balancer.
|
void |
setCreatedTime(Date createdTime)
The date and time the load balancer was created.
|
void |
setDNSName(String dNSName)
The public DNS name of the load balancer.
|
void |
setIpAddressType(IpAddressType ipAddressType)
The type of IP addresses used by the subnets for your load balancer.
|
void |
setIpAddressType(String ipAddressType)
The type of IP addresses used by the subnets for your load balancer.
|
void |
setLoadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
|
void |
setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
void |
setScheme(LoadBalancerSchemeEnum scheme)
The nodes of an Internet-facing load balancer have public IP addresses.
|
void |
setScheme(String scheme)
The nodes of an Internet-facing load balancer have public IP addresses.
|
void |
setSecurityGroups(Collection<String> securityGroups)
The IDs of the security groups for the load balancer.
|
void |
setState(LoadBalancerState state)
The state of the load balancer.
|
void |
setType(LoadBalancerTypeEnum type)
The type of load balancer.
|
void |
setType(String type)
The type of load balancer.
|
void |
setVpcId(String vpcId)
The ID of the VPC for the load balancer.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
LoadBalancer |
withAvailabilityZones(AvailabilityZone... availabilityZones)
The Availability Zones for the load balancer.
|
LoadBalancer |
withAvailabilityZones(Collection<AvailabilityZone> availabilityZones)
The Availability Zones for the load balancer.
|
LoadBalancer |
withCanonicalHostedZoneId(String canonicalHostedZoneId)
The ID of the Amazon Route 53 hosted zone associated with the load balancer.
|
LoadBalancer |
withCreatedTime(Date createdTime)
The date and time the load balancer was created.
|
LoadBalancer |
withDNSName(String dNSName)
The public DNS name of the load balancer.
|
LoadBalancer |
withIpAddressType(IpAddressType ipAddressType)
The type of IP addresses used by the subnets for your load balancer.
|
LoadBalancer |
withIpAddressType(String ipAddressType)
The type of IP addresses used by the subnets for your load balancer.
|
LoadBalancer |
withLoadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
|
LoadBalancer |
withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
LoadBalancer |
withScheme(LoadBalancerSchemeEnum scheme)
The nodes of an Internet-facing load balancer have public IP addresses.
|
LoadBalancer |
withScheme(String scheme)
The nodes of an Internet-facing load balancer have public IP addresses.
|
LoadBalancer |
withSecurityGroups(Collection<String> securityGroups)
The IDs of the security groups for the load balancer.
|
LoadBalancer |
withSecurityGroups(String... securityGroups)
The IDs of the security groups for the load balancer.
|
LoadBalancer |
withState(LoadBalancerState state)
The state of the load balancer.
|
LoadBalancer |
withType(LoadBalancerTypeEnum type)
The type of load balancer.
|
LoadBalancer |
withType(String type)
The type of load balancer.
|
LoadBalancer |
withVpcId(String vpcId)
The ID of the VPC for the load balancer.
|
public void setLoadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
loadBalancerArn
- The Amazon Resource Name (ARN) of the load balancer.public String getLoadBalancerArn()
The Amazon Resource Name (ARN) of the load balancer.
public LoadBalancer withLoadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
loadBalancerArn
- The Amazon Resource Name (ARN) of the load balancer.public void setDNSName(String dNSName)
The public DNS name of the load balancer.
dNSName
- The public DNS name of the load balancer.public String getDNSName()
The public DNS name of the load balancer.
public LoadBalancer withDNSName(String dNSName)
The public DNS name of the load balancer.
dNSName
- The public DNS name of the load balancer.public void setCanonicalHostedZoneId(String canonicalHostedZoneId)
The ID of the Amazon Route 53 hosted zone associated with the load balancer.
canonicalHostedZoneId
- The ID of the Amazon Route 53 hosted zone associated with the load balancer.public String getCanonicalHostedZoneId()
The ID of the Amazon Route 53 hosted zone associated with the load balancer.
public LoadBalancer withCanonicalHostedZoneId(String canonicalHostedZoneId)
The ID of the Amazon Route 53 hosted zone associated with the load balancer.
canonicalHostedZoneId
- The ID of the Amazon Route 53 hosted zone associated with the load balancer.public void setCreatedTime(Date createdTime)
The date and time the load balancer was created.
createdTime
- The date and time the load balancer was created.public Date getCreatedTime()
The date and time the load balancer was created.
public LoadBalancer withCreatedTime(Date createdTime)
The date and time the load balancer was created.
createdTime
- The date and time the load balancer was created.public void setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public String getLoadBalancerName()
The name of the load balancer.
public LoadBalancer withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public void setScheme(String scheme)
The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the Internet.
The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can only route requests from clients with access to the VPC for the load balancer.
scheme
- The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing
load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing
load balancers can route requests from clients over the Internet.
The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can only route requests from clients with access to the VPC for the load balancer.
LoadBalancerSchemeEnum
public String getScheme()
The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the Internet.
The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can only route requests from clients with access to the VPC for the load balancer.
The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can only route requests from clients with access to the VPC for the load balancer.
LoadBalancerSchemeEnum
public LoadBalancer withScheme(String scheme)
The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the Internet.
The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can only route requests from clients with access to the VPC for the load balancer.
scheme
- The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing
load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing
load balancers can route requests from clients over the Internet.
The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can only route requests from clients with access to the VPC for the load balancer.
LoadBalancerSchemeEnum
public void setScheme(LoadBalancerSchemeEnum scheme)
The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the Internet.
The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can only route requests from clients with access to the VPC for the load balancer.
scheme
- The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing
load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing
load balancers can route requests from clients over the Internet.
The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can only route requests from clients with access to the VPC for the load balancer.
LoadBalancerSchemeEnum
public LoadBalancer withScheme(LoadBalancerSchemeEnum scheme)
The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the Internet.
The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can only route requests from clients with access to the VPC for the load balancer.
scheme
- The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing
load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing
load balancers can route requests from clients over the Internet.
The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can only route requests from clients with access to the VPC for the load balancer.
LoadBalancerSchemeEnum
public void setVpcId(String vpcId)
The ID of the VPC for the load balancer.
vpcId
- The ID of the VPC for the load balancer.public String getVpcId()
The ID of the VPC for the load balancer.
public LoadBalancer withVpcId(String vpcId)
The ID of the VPC for the load balancer.
vpcId
- The ID of the VPC for the load balancer.public void setState(LoadBalancerState state)
The state of the load balancer.
state
- The state of the load balancer.public LoadBalancerState getState()
The state of the load balancer.
public LoadBalancer withState(LoadBalancerState state)
The state of the load balancer.
state
- The state of the load balancer.public void setType(String type)
The type of load balancer.
type
- The type of load balancer.LoadBalancerTypeEnum
public String getType()
The type of load balancer.
LoadBalancerTypeEnum
public LoadBalancer withType(String type)
The type of load balancer.
type
- The type of load balancer.LoadBalancerTypeEnum
public void setType(LoadBalancerTypeEnum type)
The type of load balancer.
type
- The type of load balancer.LoadBalancerTypeEnum
public LoadBalancer withType(LoadBalancerTypeEnum type)
The type of load balancer.
type
- The type of load balancer.LoadBalancerTypeEnum
public List<AvailabilityZone> getAvailabilityZones()
The Availability Zones for the load balancer.
public void setAvailabilityZones(Collection<AvailabilityZone> availabilityZones)
The Availability Zones for the load balancer.
availabilityZones
- The Availability Zones for the load balancer.public LoadBalancer withAvailabilityZones(AvailabilityZone... availabilityZones)
The Availability Zones for the load balancer.
NOTE: This method appends the values to the existing list (if any). Use
setAvailabilityZones(java.util.Collection)
or withAvailabilityZones(java.util.Collection)
if
you want to override the existing values.
availabilityZones
- The Availability Zones for the load balancer.public LoadBalancer withAvailabilityZones(Collection<AvailabilityZone> availabilityZones)
The Availability Zones for the load balancer.
availabilityZones
- The Availability Zones for the load balancer.public List<String> getSecurityGroups()
The IDs of the security groups for the load balancer.
public void setSecurityGroups(Collection<String> securityGroups)
The IDs of the security groups for the load balancer.
securityGroups
- The IDs of the security groups for the load balancer.public LoadBalancer withSecurityGroups(String... securityGroups)
The IDs of the security groups for the load balancer.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroups(java.util.Collection)
or withSecurityGroups(java.util.Collection)
if you want
to override the existing values.
securityGroups
- The IDs of the security groups for the load balancer.public LoadBalancer withSecurityGroups(Collection<String> securityGroups)
The IDs of the security groups for the load balancer.
securityGroups
- The IDs of the security groups for the load balancer.public void setIpAddressType(String ipAddressType)
The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4
(for IPv4 addresses) and dualstack
(for IPv4 and IPv6 addresses).
ipAddressType
- The type of IP addresses used by the subnets for your load balancer. The possible values are
ipv4
(for IPv4 addresses) and dualstack
(for IPv4 and IPv6 addresses).IpAddressType
public String getIpAddressType()
The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4
(for IPv4 addresses) and dualstack
(for IPv4 and IPv6 addresses).
ipv4
(for IPv4 addresses) and dualstack
(for IPv4 and IPv6 addresses).IpAddressType
public LoadBalancer withIpAddressType(String ipAddressType)
The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4
(for IPv4 addresses) and dualstack
(for IPv4 and IPv6 addresses).
ipAddressType
- The type of IP addresses used by the subnets for your load balancer. The possible values are
ipv4
(for IPv4 addresses) and dualstack
(for IPv4 and IPv6 addresses).IpAddressType
public void setIpAddressType(IpAddressType ipAddressType)
The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4
(for IPv4 addresses) and dualstack
(for IPv4 and IPv6 addresses).
ipAddressType
- The type of IP addresses used by the subnets for your load balancer. The possible values are
ipv4
(for IPv4 addresses) and dualstack
(for IPv4 and IPv6 addresses).IpAddressType
public LoadBalancer withIpAddressType(IpAddressType ipAddressType)
The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4
(for IPv4 addresses) and dualstack
(for IPv4 and IPv6 addresses).
ipAddressType
- The type of IP addresses used by the subnets for your load balancer. The possible values are
ipv4
(for IPv4 addresses) and dualstack
(for IPv4 and IPv6 addresses).IpAddressType
public String toString()
toString
in class Object
Object.toString()
public LoadBalancer clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.