Class AwsElbLoadBalancerDetails
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsElbLoadBalancerDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsElbLoadBalancerDetails.Builder,AwsElbLoadBalancerDetails>
@Generated("software.amazon.awssdk:codegen") public final class AwsElbLoadBalancerDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsElbLoadBalancerDetails.Builder,AwsElbLoadBalancerDetails>
Contains details about a Classic Load Balancer.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsElbLoadBalancerDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>availabilityZones()The list of Availability Zones for the load balancer.List<AwsElbLoadBalancerBackendServerDescription>backendServerDescriptions()Information about the configuration of the EC2 instances.static AwsElbLoadBalancerDetails.Builderbuilder()StringcanonicalHostedZoneName()The name of the Amazon Route 53 hosted zone for the load balancer.StringcanonicalHostedZoneNameID()The ID of the Amazon Route 53 hosted zone for the load balancer.StringcreatedTime()Indicates when the load balancer was created.StringdnsName()The 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.booleanhasBackendServerDescriptions()For responses, this returns true if the service returned a value for the BackendServerDescriptions property.inthashCode()booleanhasInstances()For responses, this returns true if the service returned a value for the Instances property.booleanhasListenerDescriptions()For responses, this returns true if the service returned a value for the ListenerDescriptions property.booleanhasSecurityGroups()For responses, this returns true if the service returned a value for the SecurityGroups property.booleanhasSubnets()For responses, this returns true if the service returned a value for the Subnets property.AwsElbLoadBalancerHealthCheckhealthCheck()Information about the health checks that are conducted on the load balancer.List<AwsElbLoadBalancerInstance>instances()List of EC2 instances for the load balancer.List<AwsElbLoadBalancerListenerDescription>listenerDescriptions()The policies that are enabled for the load balancer listeners.AwsElbLoadBalancerAttributesloadBalancerAttributes()The attributes for a load balancer.StringloadBalancerName()The name of the load balancer.AwsElbLoadBalancerPoliciespolicies()The policies for a load balancer.Stringscheme()The type of load balancer.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()List<String>securityGroups()The security groups for the load balancer.static Class<? extends AwsElbLoadBalancerDetails.Builder>serializableBuilderClass()AwsElbLoadBalancerSourceSecurityGroupsourceSecurityGroup()Information about the security group for the load balancer.List<String>subnets()The list of subnet identifiers for the load balancer.AwsElbLoadBalancerDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringvpcId()The identifier 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<String> 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
public final List<AwsElbLoadBalancerBackendServerDescription> 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
public final String 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
public final String 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
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 DNS name of the load balancer.
- Returns:
- The DNS name of the load balancer.
-
healthCheck
public final AwsElbLoadBalancerHealthCheck 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
public final List<AwsElbLoadBalancerInstance> 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
public final List<AwsElbLoadBalancerListenerDescription> 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
public final AwsElbLoadBalancerAttributes loadBalancerAttributes()
The attributes for a load balancer.
- Returns:
- The attributes for a load balancer.
-
loadBalancerName
public final String loadBalancerName()
The name of the load balancer.
- Returns:
- The name of the load balancer.
-
policies
public final AwsElbLoadBalancerPolicies policies()
The policies for a load balancer.
- Returns:
- The policies for a load balancer.
-
scheme
public final String scheme()
The type of load balancer. Only provided if the load balancer is 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. Only provided if the load balancer is 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.
-
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 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
public final AwsElbLoadBalancerSourceSecurityGroup 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
public final List<String> 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
public final String vpcId()
The identifier of the VPC for the load balancer.
- Returns:
- The identifier of the VPC for the load balancer.
-
toBuilder
public AwsElbLoadBalancerDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsElbLoadBalancerDetails.Builder,AwsElbLoadBalancerDetails>
-
builder
public static AwsElbLoadBalancerDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsElbLoadBalancerDetails.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
-
-