Class LoadBalancerDescription
- All Implemented Interfaces:
- Serializable,- SdkPojo,- ToCopyableBuilder<LoadBalancerDescription.Builder,- LoadBalancerDescription> 
Information about a load balancer.
- See Also:
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionThe Availability Zones for the load balancer.final List<BackendServerDescription> Information about your EC2 instances.builder()final StringThe DNS name of the load balancer.final StringThe ID of the Amazon Route 53 hosted zone for the load balancer.final InstantThe date and time the load balancer was created.final StringdnsName()The DNS name of the load balancer.final booleanfinal booleanequalsBySdkFields(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 booleanFor responses, this returns true if the service returned a value for the AvailabilityZones property.final booleanFor responses, this returns true if the service returned a value for the BackendServerDescriptions property.final inthashCode()final booleanFor responses, this returns true if the service returned a value for the Instances property.final booleanFor responses, this returns true if the service returned a value for the ListenerDescriptions property.final booleanFor responses, this returns true if the service returned a value for the SecurityGroups property.final booleanFor responses, this returns true if the service returned a value for the Subnets property.final HealthCheckInformation about the health checks conducted on the load balancer.The IDs of the instances for the load balancer.final List<ListenerDescription> The listeners for the load balancer.final StringThe name of the load balancer.final Policiespolicies()The policies defined for the load balancer.final Stringscheme()The type of load balancer.The security groups for the load balancer.static Class<? extends LoadBalancerDescription.Builder> final SourceSecurityGroupThe security group for the load balancer, which you can use as part of your inbound rules for your registered instances.subnets()The IDs of the subnets for the load balancer.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final StringvpcId()The ID of the VPC for the load balancer.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuildercopy
- 
Method Details- 
loadBalancerNameThe name of the load balancer. - Returns:
- The name of the load balancer.
 
- 
dnsNameThe DNS name of the load balancer. - Returns:
- The DNS name of the load balancer.
 
- 
canonicalHostedZoneNameThe DNS name of the load balancer. For more information, see Configure a Custom Domain Name in the Classic Load Balancers Guide. - Returns:
- The DNS name of the load balancer.
         For more information, see Configure a Custom Domain Name in the Classic Load Balancers Guide. 
 
- 
canonicalHostedZoneNameIDThe 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.
 
- 
hasListenerDescriptionspublic 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.
- 
listenerDescriptionsThe listeners 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 hasListenerDescriptions()method.- Returns:
- The listeners for the load balancer.
 
- 
policiesThe policies defined for the load balancer. - Returns:
- The policies defined for the load balancer.
 
- 
hasBackendServerDescriptionspublic 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.
- 
backendServerDescriptionsInformation about your 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 your EC2 instances.
 
- 
hasAvailabilityZonespublic 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.
- 
availabilityZonesThe 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 Availability Zones for the load balancer.
 
- 
hasSubnetspublic 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.
- 
subnetsThe IDs of the subnets 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 IDs of the subnets for the load balancer.
 
- 
vpcIdThe ID of the VPC for the load balancer. - Returns:
- The ID of the VPC for the load balancer.
 
- 
hasInstancespublic 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.
- 
instancesThe IDs of the 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:
- The IDs of the instances for the load balancer.
 
- 
healthCheckInformation about the health checks conducted on the load balancer. - Returns:
- Information about the health checks conducted on the load balancer.
 
- 
sourceSecurityGroupThe 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. - Returns:
- 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.
 
- 
hasSecurityGroupspublic 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.
- 
securityGroupsThe 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. 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. Valid only for load balancers in a VPC.
 
- 
createdTimeThe date and time the load balancer was created. - Returns:
- The date and time the load balancer was created.
 
- 
schemeThe type of load balancer. Valid only for load balancers in a VPC. If Schemeisinternet-facing, the load balancer has a public DNS name that resolves to a public IP address.If Schemeisinternal, the load balancer has a public DNS name that resolves to a private IP address.- Returns:
- The type of load balancer. Valid only for load balancers in a VPC.
         If Schemeisinternet-facing, the load balancer has a public DNS name that resolves to a public IP address.If Schemeisinternal, the load balancer has a public DNS name that resolves to a private IP address.
 
- 
toBuilderDescription copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
- toBuilderin interface- ToCopyableBuilder<LoadBalancerDescription.Builder,- LoadBalancerDescription> 
- Returns:
- a builder for type T
 
- 
builder
- 
serializableBuilderClass
- 
hashCode
- 
equals
- 
equalsBySdkFieldsDescription copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
- equalsBySdkFieldsin interface- SdkPojo
- 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:
- sdkFieldNameToFieldin interface- SdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
 
 
-