@Generated(value="software.amazon.awssdk:codegen") public final class AwsElbv2LoadBalancerDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsElbv2LoadBalancerDetails.Builder,AwsElbv2LoadBalancerDetails>
Information about a load balancer.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsElbv2LoadBalancerDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<AvailabilityZone> |
availabilityZones()
The Availability Zones for the load balancer.
|
static AwsElbv2LoadBalancerDetails.Builder |
builder() |
String |
canonicalHostedZoneId()
The ID of the Amazon Route 53 hosted zone associated with the load balancer.
|
String |
createdTime()
Indicates when the load balancer was created.
|
String |
dnsName()
The public 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()
For responses, this returns true if the service returned a value for the AvailabilityZones property.
|
int |
hashCode() |
boolean |
hasLoadBalancerAttributes()
For responses, this returns true if the service returned a value for the LoadBalancerAttributes property.
|
boolean |
hasSecurityGroups()
For responses, this returns true if the service returned a value for the SecurityGroups property.
|
String |
ipAddressType()
The type of IP addresses used by the subnets for your load balancer.
|
List<AwsElbv2LoadBalancerAttribute> |
loadBalancerAttributes()
Attributes of the load balancer.
|
String |
scheme()
The nodes of an Internet-facing load balancer have public IP addresses.
|
List<SdkField<?>> |
sdkFields() |
List<String> |
securityGroups()
The IDs of the security groups for the load balancer.
|
static Class<? extends AwsElbv2LoadBalancerDetails.Builder> |
serializableBuilderClass() |
LoadBalancerState |
state()
The state of the load balancer.
|
AwsElbv2LoadBalancerDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
type()
The type of load balancer.
|
String |
vpcId()
The ID of the VPC for the load balancer.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasAvailabilityZones()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<AvailabilityZone> availabilityZones()
The Availability Zones for the load balancer.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAvailabilityZones() method.
public final String canonicalHostedZoneId()
The ID of the Amazon Route 53 hosted zone associated with the load balancer.
public final String createdTime()
Indicates when the load balancer was created.
Uses the date-time format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
separated by T. For example, 2020-03-22T13:22:13.933Z.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces, and date and time should be separated by T. For
example, 2020-03-22T13:22:13.933Z.
public final String dnsName()
The public DNS name of the load balancer.
public final 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).
ipv4 (for IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses).public final String scheme()
The nodes of an Internet-facing load balancer have public IP addresses.
public final boolean hasSecurityGroups()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> securityGroups()
The IDs of the security groups for the load balancer.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSecurityGroups() method.
public final LoadBalancerState state()
The state of the load balancer.
public final String type()
The type of load balancer.
public final String vpcId()
The ID of the VPC for the load balancer.
public final boolean hasLoadBalancerAttributes()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<AwsElbv2LoadBalancerAttribute> loadBalancerAttributes()
Attributes of the load balancer.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasLoadBalancerAttributes() method.
public AwsElbv2LoadBalancerDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AwsElbv2LoadBalancerDetails.Builder,AwsElbv2LoadBalancerDetails>public static AwsElbv2LoadBalancerDetails.Builder builder()
public static Class<? extends AwsElbv2LoadBalancerDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.