public class LoadBalancerDescription
extends java.lang.Object
implements java.io.Serializable
Contains the result of a successful invocation of DescribeLoadBalancers.
| コンストラクタと説明 |
|---|
LoadBalancerDescription()
Default constructor for a new LoadBalancerDescription object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getAvailabilityZones()
Specifies a list of Availability Zones.
|
java.util.List<BackendServerDescription> |
getBackendServerDescriptions()
Contains a list of back-end server descriptions.
|
java.lang.String |
getCanonicalHostedZoneName()
Provides the name of the Amazon Route 53 hosted zone that is
associated with the LoadBalancer.
|
java.lang.String |
getCanonicalHostedZoneNameID()
Provides the ID of the Amazon Route 53 hosted zone name that is
associated with the LoadBalancer.
|
java.util.Date |
getCreatedTime()
Provides the date and time the LoadBalancer was created.
|
java.lang.String |
getDNSName()
Specifies the external DNS name associated with the LoadBalancer.
|
HealthCheck |
getHealthCheck()
Specifies information regarding the various health probes conducted on
the LoadBalancer.
|
java.util.List<Instance> |
getInstances()
Provides a list of EC2 instance IDs for the LoadBalancer.
|
java.util.List<ListenerDescription> |
getListenerDescriptions()
LoadBalancerPort, InstancePort, Protocol, InstanceProtocol, and
PolicyNames are returned in a list of tuples in the
ListenerDescriptions element.
|
java.lang.String |
getLoadBalancerName()
Specifies the name associated with the LoadBalancer.
|
Policies |
getPolicies()
Provides a list of policies defined for the LoadBalancer.
|
java.lang.String |
getScheme()
Specifies the type of a load balancer.
|
java.util.List<java.lang.String> |
getSecurityGroups()
The security groups the LoadBalancer is a member of (VPC only).
|
SourceSecurityGroup |
getSourceSecurityGroup()
The security group that you can use as part of your inbound rules for
your LoadBalancer's back-end Amazon EC2 application instances.
|
java.util.List<java.lang.String> |
getSubnets()
Provides a list of VPC subnet IDs for the LoadBalancer.
|
java.lang.String |
getVPCId()
Provides the ID of the VPC attached to the LoadBalancer.
|
int |
hashCode() |
void |
setAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
Specifies a list of Availability Zones.
|
void |
setBackendServerDescriptions(java.util.Collection<BackendServerDescription> backendServerDescriptions)
Contains a list of back-end server descriptions.
|
void |
setCanonicalHostedZoneName(java.lang.String canonicalHostedZoneName)
Provides the name of the Amazon Route 53 hosted zone that is
associated with the LoadBalancer.
|
void |
setCanonicalHostedZoneNameID(java.lang.String canonicalHostedZoneNameID)
Provides the ID of the Amazon Route 53 hosted zone name that is
associated with the LoadBalancer.
|
void |
setCreatedTime(java.util.Date createdTime)
Provides the date and time the LoadBalancer was created.
|
void |
setDNSName(java.lang.String dNSName)
Specifies the external DNS name associated with the LoadBalancer.
|
void |
setHealthCheck(HealthCheck healthCheck)
Specifies information regarding the various health probes conducted on
the LoadBalancer.
|
void |
setInstances(java.util.Collection<Instance> instances)
Provides a list of EC2 instance IDs for the LoadBalancer.
|
void |
setListenerDescriptions(java.util.Collection<ListenerDescription> listenerDescriptions)
LoadBalancerPort, InstancePort, Protocol, InstanceProtocol, and
PolicyNames are returned in a list of tuples in the
ListenerDescriptions element.
|
void |
setLoadBalancerName(java.lang.String loadBalancerName)
Specifies the name associated with the LoadBalancer.
|
void |
setPolicies(Policies policies)
Provides a list of policies defined for the LoadBalancer.
|
void |
setScheme(java.lang.String scheme)
Specifies the type of a load balancer.
|
void |
setSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
The security groups the LoadBalancer is a member of (VPC only).
|
void |
setSourceSecurityGroup(SourceSecurityGroup sourceSecurityGroup)
The security group that you can use as part of your inbound rules for
your LoadBalancer's back-end Amazon EC2 application instances.
|
void |
setSubnets(java.util.Collection<java.lang.String> subnets)
Provides a list of VPC subnet IDs for the LoadBalancer.
|
void |
setVPCId(java.lang.String vPCId)
Provides the ID of the VPC attached to the LoadBalancer.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LoadBalancerDescription |
withAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
Specifies a list of Availability Zones.
|
LoadBalancerDescription |
withAvailabilityZones(java.lang.String... availabilityZones)
Specifies a list of Availability Zones.
|
LoadBalancerDescription |
withBackendServerDescriptions(BackendServerDescription... backendServerDescriptions)
Contains a list of back-end server descriptions.
|
LoadBalancerDescription |
withBackendServerDescriptions(java.util.Collection<BackendServerDescription> backendServerDescriptions)
Contains a list of back-end server descriptions.
|
LoadBalancerDescription |
withCanonicalHostedZoneName(java.lang.String canonicalHostedZoneName)
Provides the name of the Amazon Route 53 hosted zone that is
associated with the LoadBalancer.
|
LoadBalancerDescription |
withCanonicalHostedZoneNameID(java.lang.String canonicalHostedZoneNameID)
Provides the ID of the Amazon Route 53 hosted zone name that is
associated with the LoadBalancer.
|
LoadBalancerDescription |
withCreatedTime(java.util.Date createdTime)
Provides the date and time the LoadBalancer was created.
|
LoadBalancerDescription |
withDNSName(java.lang.String dNSName)
Specifies the external DNS name associated with the LoadBalancer.
|
LoadBalancerDescription |
withHealthCheck(HealthCheck healthCheck)
Specifies information regarding the various health probes conducted on
the LoadBalancer.
|
LoadBalancerDescription |
withInstances(java.util.Collection<Instance> instances)
Provides a list of EC2 instance IDs for the LoadBalancer.
|
LoadBalancerDescription |
withInstances(Instance... instances)
Provides a list of EC2 instance IDs for the LoadBalancer.
|
LoadBalancerDescription |
withListenerDescriptions(java.util.Collection<ListenerDescription> listenerDescriptions)
LoadBalancerPort, InstancePort, Protocol, InstanceProtocol, and
PolicyNames are returned in a list of tuples in the
ListenerDescriptions element.
|
LoadBalancerDescription |
withListenerDescriptions(ListenerDescription... listenerDescriptions)
LoadBalancerPort, InstancePort, Protocol, InstanceProtocol, and
PolicyNames are returned in a list of tuples in the
ListenerDescriptions element.
|
LoadBalancerDescription |
withLoadBalancerName(java.lang.String loadBalancerName)
Specifies the name associated with the LoadBalancer.
|
LoadBalancerDescription |
withPolicies(Policies policies)
Provides a list of policies defined for the LoadBalancer.
|
LoadBalancerDescription |
withScheme(java.lang.String scheme)
Specifies the type of a load balancer.
|
LoadBalancerDescription |
withSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
The security groups the LoadBalancer is a member of (VPC only).
|
LoadBalancerDescription |
withSecurityGroups(java.lang.String... securityGroups)
The security groups the LoadBalancer is a member of (VPC only).
|
LoadBalancerDescription |
withSourceSecurityGroup(SourceSecurityGroup sourceSecurityGroup)
The security group that you can use as part of your inbound rules for
your LoadBalancer's back-end Amazon EC2 application instances.
|
LoadBalancerDescription |
withSubnets(java.util.Collection<java.lang.String> subnets)
Provides a list of VPC subnet IDs for the LoadBalancer.
|
LoadBalancerDescription |
withSubnets(java.lang.String... subnets)
Provides a list of VPC subnet IDs for the LoadBalancer.
|
LoadBalancerDescription |
withVPCId(java.lang.String vPCId)
Provides the ID of the VPC attached to the LoadBalancer.
|
public LoadBalancerDescription()
public java.lang.String getLoadBalancerName()
public void setLoadBalancerName(java.lang.String loadBalancerName)
loadBalancerName - Specifies the name associated with the LoadBalancer.public LoadBalancerDescription withLoadBalancerName(java.lang.String loadBalancerName)
Returns a reference to this object so that method calls can be chained together.
loadBalancerName - Specifies the name associated with the LoadBalancer.public java.lang.String getDNSName()
public void setDNSName(java.lang.String dNSName)
dNSName - Specifies the external DNS name associated with the LoadBalancer.public LoadBalancerDescription withDNSName(java.lang.String dNSName)
Returns a reference to this object so that method calls can be chained together.
dNSName - Specifies the external DNS name associated with the LoadBalancer.public java.lang.String getCanonicalHostedZoneName()
public void setCanonicalHostedZoneName(java.lang.String canonicalHostedZoneName)
canonicalHostedZoneName - Provides the name of the Amazon Route 53 hosted zone that is
associated with the LoadBalancer. For information on how to associate
your load balancer with a hosted zone, go to Using
Domain Names With Elastic Load Balancing in the Elastic Load
Balancing Developer Guide.public LoadBalancerDescription withCanonicalHostedZoneName(java.lang.String canonicalHostedZoneName)
Returns a reference to this object so that method calls can be chained together.
canonicalHostedZoneName - Provides the name of the Amazon Route 53 hosted zone that is
associated with the LoadBalancer. For information on how to associate
your load balancer with a hosted zone, go to Using
Domain Names With Elastic Load Balancing in the Elastic Load
Balancing Developer Guide.public java.lang.String getCanonicalHostedZoneNameID()
public void setCanonicalHostedZoneNameID(java.lang.String canonicalHostedZoneNameID)
canonicalHostedZoneNameID - Provides the ID of the Amazon Route 53 hosted zone name that is
associated with the LoadBalancer. For information on how to associate
or disassociate your load balancer with a hosted zone, go to Using
Domain Names With Elastic Load Balancing in the Elastic Load
Balancing Developer Guide.public LoadBalancerDescription withCanonicalHostedZoneNameID(java.lang.String canonicalHostedZoneNameID)
Returns a reference to this object so that method calls can be chained together.
canonicalHostedZoneNameID - Provides the ID of the Amazon Route 53 hosted zone name that is
associated with the LoadBalancer. For information on how to associate
or disassociate your load balancer with a hosted zone, go to Using
Domain Names With Elastic Load Balancing in the Elastic Load
Balancing Developer Guide.public java.util.List<ListenerDescription> getListenerDescriptions()
public void setListenerDescriptions(java.util.Collection<ListenerDescription> listenerDescriptions)
listenerDescriptions - LoadBalancerPort, InstancePort, Protocol, InstanceProtocol, and
PolicyNames are returned in a list of tuples in the
ListenerDescriptions element.public LoadBalancerDescription withListenerDescriptions(ListenerDescription... listenerDescriptions)
Returns a reference to this object so that method calls can be chained together.
listenerDescriptions - LoadBalancerPort, InstancePort, Protocol, InstanceProtocol, and
PolicyNames are returned in a list of tuples in the
ListenerDescriptions element.public LoadBalancerDescription withListenerDescriptions(java.util.Collection<ListenerDescription> listenerDescriptions)
Returns a reference to this object so that method calls can be chained together.
listenerDescriptions - LoadBalancerPort, InstancePort, Protocol, InstanceProtocol, and
PolicyNames are returned in a list of tuples in the
ListenerDescriptions element.public Policies getPolicies()
public void setPolicies(Policies policies)
policies - Provides a list of policies defined for the LoadBalancer.public LoadBalancerDescription withPolicies(Policies policies)
Returns a reference to this object so that method calls can be chained together.
policies - Provides a list of policies defined for the LoadBalancer.public java.util.List<BackendServerDescription> getBackendServerDescriptions()
public void setBackendServerDescriptions(java.util.Collection<BackendServerDescription> backendServerDescriptions)
backendServerDescriptions - Contains a list of back-end server descriptions.public LoadBalancerDescription withBackendServerDescriptions(BackendServerDescription... backendServerDescriptions)
Returns a reference to this object so that method calls can be chained together.
backendServerDescriptions - Contains a list of back-end server descriptions.public LoadBalancerDescription withBackendServerDescriptions(java.util.Collection<BackendServerDescription> backendServerDescriptions)
Returns a reference to this object so that method calls can be chained together.
backendServerDescriptions - Contains a list of back-end server descriptions.public java.util.List<java.lang.String> getAvailabilityZones()
public void setAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
availabilityZones - Specifies a list of Availability Zones.public LoadBalancerDescription withAvailabilityZones(java.lang.String... availabilityZones)
Returns a reference to this object so that method calls can be chained together.
availabilityZones - Specifies a list of Availability Zones.public LoadBalancerDescription withAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
Returns a reference to this object so that method calls can be chained together.
availabilityZones - Specifies a list of Availability Zones.public java.util.List<java.lang.String> getSubnets()
public void setSubnets(java.util.Collection<java.lang.String> subnets)
subnets - Provides a list of VPC subnet IDs for the LoadBalancer.public LoadBalancerDescription withSubnets(java.lang.String... subnets)
Returns a reference to this object so that method calls can be chained together.
subnets - Provides a list of VPC subnet IDs for the LoadBalancer.public LoadBalancerDescription withSubnets(java.util.Collection<java.lang.String> subnets)
Returns a reference to this object so that method calls can be chained together.
subnets - Provides a list of VPC subnet IDs for the LoadBalancer.public java.lang.String getVPCId()
public void setVPCId(java.lang.String vPCId)
vPCId - Provides the ID of the VPC attached to the LoadBalancer.public LoadBalancerDescription withVPCId(java.lang.String vPCId)
Returns a reference to this object so that method calls can be chained together.
vPCId - Provides the ID of the VPC attached to the LoadBalancer.public java.util.List<Instance> getInstances()
public void setInstances(java.util.Collection<Instance> instances)
instances - Provides a list of EC2 instance IDs for the LoadBalancer.public LoadBalancerDescription withInstances(Instance... instances)
Returns a reference to this object so that method calls can be chained together.
instances - Provides a list of EC2 instance IDs for the LoadBalancer.public LoadBalancerDescription withInstances(java.util.Collection<Instance> instances)
Returns a reference to this object so that method calls can be chained together.
instances - Provides a list of EC2 instance IDs for the LoadBalancer.public HealthCheck getHealthCheck()
public void setHealthCheck(HealthCheck healthCheck)
healthCheck - Specifies information regarding the various health probes conducted on
the LoadBalancer.public LoadBalancerDescription withHealthCheck(HealthCheck healthCheck)
Returns a reference to this object so that method calls can be chained together.
healthCheck - Specifies information regarding the various health probes conducted on
the LoadBalancer.public SourceSecurityGroup getSourceSecurityGroup()
public void setSourceSecurityGroup(SourceSecurityGroup sourceSecurityGroup)
sourceSecurityGroup - The security group that you can use as part of your inbound rules for
your LoadBalancer's back-end Amazon EC2 application instances. To only
allow traffic from LoadBalancers, add a security group rule to your
back end instance that specifies this source security group as the
inbound source.public LoadBalancerDescription withSourceSecurityGroup(SourceSecurityGroup sourceSecurityGroup)
Returns a reference to this object so that method calls can be chained together.
sourceSecurityGroup - The security group that you can use as part of your inbound rules for
your LoadBalancer's back-end Amazon EC2 application instances. To only
allow traffic from LoadBalancers, add a security group rule to your
back end instance that specifies this source security group as the
inbound source.public java.util.List<java.lang.String> getSecurityGroups()
public void setSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
securityGroups - The security groups the LoadBalancer is a member of (VPC only).public LoadBalancerDescription withSecurityGroups(java.lang.String... securityGroups)
Returns a reference to this object so that method calls can be chained together.
securityGroups - The security groups the LoadBalancer is a member of (VPC only).public LoadBalancerDescription withSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
Returns a reference to this object so that method calls can be chained together.
securityGroups - The security groups the LoadBalancer is a member of (VPC only).public java.util.Date getCreatedTime()
public void setCreatedTime(java.util.Date createdTime)
createdTime - Provides the date and time the LoadBalancer was created.public LoadBalancerDescription withCreatedTime(java.util.Date createdTime)
Returns a reference to this object so that method calls can be chained together.
createdTime - Provides the date and time the LoadBalancer was created.public java.lang.String getScheme()
public void setScheme(java.lang.String scheme)
scheme - Specifies the type of a load balancer. If it is
internet-facing, the load balancer has a publicly resolvable
DNS name that resolves to public IP addresses. If it is
internal, the load balancer has a publicly resolvable DNS name
that resolves to private IP addresses. This option is only available
for load balancers attached to a VPC.public LoadBalancerDescription withScheme(java.lang.String scheme)
Returns a reference to this object so that method calls can be chained together.
scheme - Specifies the type of a load balancer. If it is
internet-facing, the load balancer has a publicly resolvable
DNS name that resolves to public IP addresses. If it is
internal, the load balancer has a publicly resolvable DNS name
that resolves to private IP addresses. This option is only available
for load balancers attached to a VPC.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object