@Generated(value="software.amazon.awssdk:codegen") public final class LoadBalancerDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LoadBalancerDescription.Builder,LoadBalancerDescription>
Information about a load balancer.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LoadBalancerDescription.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
availabilityZones()
The Availability Zones for the load balancer.
|
List<BackendServerDescription> |
backendServerDescriptions()
Information about your EC2 instances.
|
static LoadBalancerDescription.Builder |
builder() |
String |
canonicalHostedZoneName()
The DNS name of the load balancer.
|
String |
canonicalHostedZoneNameID()
The ID of the Amazon Route 53 hosted zone for the load balancer.
|
Instant |
createdTime()
The date and time the load balancer was created.
|
String |
dnsName()
The DNS name of the load balancer.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAvailabilityZones()
Returns true if the AvailabilityZones property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasBackendServerDescriptions()
Returns true if the BackendServerDescriptions property was specified by the sender (it may be empty), or false if
the sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasInstances()
Returns true if the Instances property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasListenerDescriptions()
Returns true if the ListenerDescriptions property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasSecurityGroups()
Returns true if the SecurityGroups property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasSubnets()
Returns true if the Subnets property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
HealthCheck |
healthCheck()
Information about the health checks conducted on the load balancer.
|
List<Instance> |
instances()
The IDs of the instances for the load balancer.
|
List<ListenerDescription> |
listenerDescriptions()
The listeners for the load balancer.
|
String |
loadBalancerName()
The name of the load balancer.
|
Policies |
policies()
The policies defined for the load balancer.
|
String |
scheme()
The type of load balancer.
|
List<SdkField<?>> |
sdkFields() |
List<String> |
securityGroups()
The security groups for the load balancer.
|
static Class<? extends LoadBalancerDescription.Builder> |
serializableBuilderClass() |
SourceSecurityGroup |
sourceSecurityGroup()
The security group for the load balancer, which you can use as part of your inbound rules for your registered
instances.
|
List<String> |
subnets()
The IDs of the subnets for the load balancer.
|
LoadBalancerDescription.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
vpcId()
The ID of the VPC for the load balancer.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String loadBalancerName()
The name of the load balancer.
public final String dnsName()
The DNS name of the load balancer.
public final String canonicalHostedZoneName()
The DNS name of the load balancer.
For more information, see Configure a Custom Domain Name in the Classic Load Balancers Guide.
For more information, see Configure a Custom Domain Name in the Classic Load Balancers Guide.
public final String canonicalHostedZoneNameID()
The ID of the Amazon Route 53 hosted zone for the load balancer.
public final boolean hasListenerDescriptions()
public final List<ListenerDescription> listenerDescriptions()
The listeners for the load balancer.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasListenerDescriptions() to see if a value was sent in this field.
public final Policies policies()
The policies defined for the load balancer.
public final boolean hasBackendServerDescriptions()
public final List<BackendServerDescription> backendServerDescriptions()
Information about your EC2 instances.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasBackendServerDescriptions() to see if a value was sent in this field.
public final boolean hasAvailabilityZones()
public final List<String> availabilityZones()
The Availability Zones for the load balancer.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAvailabilityZones() to see if a value was sent in this field.
public final boolean hasSubnets()
public final List<String> subnets()
The IDs of the subnets for the load balancer.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSubnets() to see if a value was sent in this field.
public final String vpcId()
The ID of the VPC for the load balancer.
public final boolean hasInstances()
public final List<Instance> instances()
The IDs of the instances for the load balancer.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasInstances() to see if a value was sent in this field.
public final HealthCheck healthCheck()
Information about the health checks conducted on the load balancer.
public final SourceSecurityGroup sourceSecurityGroup()
The security group for the load balancer, which you can use as part of your inbound rules for your registered instances. To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source.
public final boolean hasSecurityGroups()
public final List<String> securityGroups()
The security groups for the load balancer. Valid only for load balancers in a VPC.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSecurityGroups() to see if a value was sent in this field.
public final Instant createdTime()
The date and time the load balancer was created.
public final String scheme()
The type of load balancer. Valid only for load balancers in a VPC.
If Scheme is internet-facing, the load balancer has a public DNS name that resolves to
a public IP address.
If Scheme is internal, the load balancer has a public DNS name that resolves to a
private IP address.
If Scheme is internet-facing, the load balancer has a public DNS name that
resolves to a public IP address.
If Scheme is internal, the load balancer has a public DNS name that resolves to
a private IP address.
public LoadBalancerDescription.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LoadBalancerDescription.Builder,LoadBalancerDescription>public static LoadBalancerDescription.Builder builder()
public static Class<? extends LoadBalancerDescription.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.