@Generated(value="software.amazon.awssdk:codegen") public final class ElasticLoadBalancer extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ElasticLoadBalancer.Builder,ElasticLoadBalancer>
Describes an Elastic Load Balancing instance.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ElasticLoadBalancer.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
availabilityZones()
A list of Availability Zones.
|
static ElasticLoadBalancer.Builder |
builder() |
String |
dnsName()
The instance's public DNS name.
|
List<String> |
ec2InstanceIds()
A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.
|
String |
elasticLoadBalancerName()
The Elastic Load Balancing instance's name.
|
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.
|
boolean |
hasEc2InstanceIds()
For responses, this returns true if the service returned a value for the Ec2InstanceIds property.
|
int |
hashCode() |
boolean |
hasSubnetIds()
For responses, this returns true if the service returned a value for the SubnetIds property.
|
String |
layerId()
The ID of the layer that the instance is attached to.
|
String |
region()
The instance's AWS region.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ElasticLoadBalancer.Builder> |
serializableBuilderClass() |
String |
stackId()
The ID of the stack that the instance is associated with.
|
List<String> |
subnetIds()
A list of subnet IDs, if the stack is running in a VPC.
|
ElasticLoadBalancer.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
vpcId()
The VPC ID.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String elasticLoadBalancerName()
The Elastic Load Balancing instance's name.
public final String region()
The instance's AWS region.
public final String dnsName()
The instance's public DNS name.
public final String stackId()
The ID of the stack that the instance is associated with.
public final String layerId()
The ID of the layer that the instance is attached to.
public final String vpcId()
The VPC ID.
public 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<String> availabilityZones()
A list of Availability Zones.
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 boolean hasSubnetIds()
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> subnetIds()
A list of subnet IDs, if the stack is running in a VPC.
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 hasSubnetIds() method.
public final boolean hasEc2InstanceIds()
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> ec2InstanceIds()
A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.
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 hasEc2InstanceIds() method.
public ElasticLoadBalancer.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ElasticLoadBalancer.Builder,ElasticLoadBalancer>public static ElasticLoadBalancer.Builder builder()
public static Class<? extends ElasticLoadBalancer.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.