Class AwsElbv2LoadBalancerDetails
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsElbv2LoadBalancerDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsElbv2LoadBalancerDetails.Builder,AwsElbv2LoadBalancerDetails>
@Generated("software.amazon.awssdk:codegen") public final class AwsElbv2LoadBalancerDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsElbv2LoadBalancerDetails.Builder,AwsElbv2LoadBalancerDetails>
Information about a load balancer.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsElbv2LoadBalancerDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AvailabilityZone>availabilityZones()The Availability Zones for the load balancer.static AwsElbv2LoadBalancerDetails.Builderbuilder()StringcanonicalHostedZoneId()The ID of the Amazon Route 53 hosted zone associated with the load balancer.StringcreatedTime()Indicates when the load balancer was created.StringdnsName()The public DNS name of the load balancer.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasAvailabilityZones()For responses, this returns true if the service returned a value for the AvailabilityZones property.inthashCode()booleanhasLoadBalancerAttributes()For responses, this returns true if the service returned a value for the LoadBalancerAttributes property.booleanhasSecurityGroups()For responses, this returns true if the service returned a value for the SecurityGroups property.StringipAddressType()The type of IP addresses used by the subnets for your load balancer.List<AwsElbv2LoadBalancerAttribute>loadBalancerAttributes()Attributes of the load balancer.Stringscheme()The nodes of an Internet-facing load balancer have public IP addresses.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()List<String>securityGroups()The IDs of the security groups for the load balancer.static Class<? extends AwsElbv2LoadBalancerDetails.Builder>serializableBuilderClass()LoadBalancerStatestate()The state of the load balancer.AwsElbv2LoadBalancerDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringtype()The type of load balancer.StringvpcId()The ID of the VPC for the load balancer.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
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
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.- Returns:
- The Availability Zones for the load balancer.
-
canonicalHostedZoneId
public final String canonicalHostedZoneId()
The ID of the Amazon Route 53 hosted zone associated with the load balancer.
- Returns:
- The ID of the Amazon Route 53 hosted zone associated with the load balancer.
-
createdTime
public final String 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
public final String dnsName()
The public DNS name of the load balancer.
- Returns:
- The public DNS name of the load balancer.
-
ipAddressType
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) anddualstack(for IPv4 and IPv6 addresses).- Returns:
- The type of IP addresses used by the subnets for your load balancer. The possible values are
ipv4(for IPv4 addresses) anddualstack(for IPv4 and IPv6 addresses).
-
scheme
public final String scheme()
The nodes of an Internet-facing load balancer have public IP addresses.
- Returns:
- The nodes of an Internet-facing load balancer have public IP addresses.
-
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
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.- Returns:
- The IDs of the security groups for the load balancer.
-
state
public final LoadBalancerState state()
The state of the load balancer.
- Returns:
- The state of the load balancer.
-
type
public final String type()
The type of load balancer.
- Returns:
- The type of load balancer.
-
vpcId
public final String vpcId()
The ID of the VPC for the load balancer.
- Returns:
- The ID of the VPC for the load balancer.
-
hasLoadBalancerAttributes
public final boolean hasLoadBalancerAttributes()
For responses, this returns true if the service returned a value for the LoadBalancerAttributes 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.
-
loadBalancerAttributes
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.- Returns:
- Attributes of the load balancer.
-
toBuilder
public AwsElbv2LoadBalancerDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsElbv2LoadBalancerDetails.Builder,AwsElbv2LoadBalancerDetails>
-
builder
public static AwsElbv2LoadBalancerDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsElbv2LoadBalancerDetails.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-