@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)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<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 |
hasEc2InstanceIds()
Returns true if the Ec2InstanceIds 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 |
hasSubnetIds()
Returns true if the SubnetIds property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
String |
vpcId()
The VPC ID.
|
copy
public 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()
public final List<String> availabilityZones()
A list of Availability Zones.
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 hasSubnetIds()
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.
You can use hasSubnetIds()
to see if a value was sent in this field.
public final boolean hasEc2InstanceIds()
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.
You can use hasEc2InstanceIds()
to see if a value was sent in this field.
public ElasticLoadBalancer.Builder toBuilder()
ToCopyableBuilder
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)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.