Class AwsElbLoadBalancerDetails
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<AwsElbLoadBalancerDetails.Builder,
AwsElbLoadBalancerDetails>
Contains details about a Classic Load Balancer.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionThe list of Availability Zones for the load balancer.Information about the configuration of the EC2 instances.builder()
final String
The name of the Amazon Route 53 hosted zone for the load balancer.final String
The ID of the Amazon Route 53 hosted zone for the load balancer.final String
Indicates when the load balancer was created.final String
dnsName()
The DNS name of the load balancer.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final boolean
For responses, this returns true if the service returned a value for the AvailabilityZones property.final boolean
For responses, this returns true if the service returned a value for the BackendServerDescriptions property.final int
hashCode()
final boolean
For responses, this returns true if the service returned a value for the Instances property.final boolean
For responses, this returns true if the service returned a value for the ListenerDescriptions property.final boolean
For responses, this returns true if the service returned a value for the SecurityGroups property.final boolean
For responses, this returns true if the service returned a value for the Subnets property.Information about the health checks that are conducted on the load balancer.final List
<AwsElbLoadBalancerInstance> List of EC2 instances for the load balancer.The policies that are enabled for the load balancer listeners.The attributes for a load balancer.final String
The name of the load balancer.policies()
The policies for a load balancer.final String
scheme()
The type of load balancer.The security groups for the load balancer.static Class
<? extends AwsElbLoadBalancerDetails.Builder> Information about the security group for the load balancer.subnets()
The list of subnet identifiers for the load balancer.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final String
vpcId()
The identifier of the VPC for the load balancer.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
hasAvailabilityZones
public final boolean hasAvailabilityZones()For responses, this returns true if the service returned a value for the AvailabilityZones property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
availabilityZones
The list of 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.- Returns:
- The list of Availability Zones for the load balancer.
-
hasBackendServerDescriptions
public final boolean hasBackendServerDescriptions()For responses, this returns true if the service returned a value for the BackendServerDescriptions property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
backendServerDescriptions
Information about the configuration of the EC2 instances.
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
hasBackendServerDescriptions()
method.- Returns:
- Information about the configuration of the EC2 instances.
-
canonicalHostedZoneName
The name of the Amazon Route 53 hosted zone for the load balancer.
- Returns:
- The name of the Amazon Route 53 hosted zone for the load balancer.
-
canonicalHostedZoneNameID
The ID of the Amazon Route 53 hosted zone for the load balancer.
- Returns:
- The ID of the Amazon Route 53 hosted zone for the load balancer.
-
createdTime
Indicates when the load balancer was created.
For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
- Returns:
- Indicates when the load balancer was created.
For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
-
dnsName
The DNS name of the load balancer.
- Returns:
- The DNS name of the load balancer.
-
healthCheck
Information about the health checks that are conducted on the load balancer.
- Returns:
- Information about the health checks that are conducted on the load balancer.
-
hasInstances
public final boolean hasInstances()For responses, this returns true if the service returned a value for the Instances property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
instances
List of EC2 instances 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
hasInstances()
method.- Returns:
- List of EC2 instances for the load balancer.
-
hasListenerDescriptions
public final boolean hasListenerDescriptions()For responses, this returns true if the service returned a value for the ListenerDescriptions property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
listenerDescriptions
The policies that are enabled for the load balancer listeners.
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
hasListenerDescriptions()
method.- Returns:
- The policies that are enabled for the load balancer listeners.
-
loadBalancerAttributes
The attributes for a load balancer.
- Returns:
- The attributes for a load balancer.
-
loadBalancerName
The name of the load balancer.
- Returns:
- The name of the load balancer.
-
policies
The policies for a load balancer.
- Returns:
- The policies for a load balancer.
-
scheme
The type of load balancer. Only provided if the load balancer is in a VPC.
If
Scheme
isinternet-facing
, the load balancer has a public DNS name that resolves to a public IP address.If
Scheme
isinternal
, the load balancer has a public DNS name that resolves to a private IP address.- Returns:
- The type of load balancer. Only provided if the load balancer is in a VPC.
If
Scheme
isinternet-facing
, the load balancer has a public DNS name that resolves to a public IP address.If
Scheme
isinternal
, the load balancer has a public DNS name that resolves to a private IP address.
-
hasSecurityGroups
public final boolean hasSecurityGroups()For responses, this returns true if the service returned a value for the SecurityGroups property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
securityGroups
The security groups for the load balancer. Only provided if the load balancer is 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
hasSecurityGroups()
method.- Returns:
- The security groups for the load balancer. Only provided if the load balancer is in a VPC.
-
sourceSecurityGroup
Information about the security group for the load balancer. This is the security group that is used for inbound rules.
- Returns:
- Information about the security group for the load balancer. This is the security group that is used for inbound rules.
-
hasSubnets
public final boolean hasSubnets()For responses, this returns true if the service returned a value for the Subnets property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
subnets
The list of subnet identifiers 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
hasSubnets()
method.- Returns:
- The list of subnet identifiers for the load balancer.
-
vpcId
The identifier of the VPC for the load balancer.
- Returns:
- The identifier of the VPC for the load balancer.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<AwsElbLoadBalancerDetails.Builder,
AwsElbLoadBalancerDetails> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-