@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsElbLoadBalancerDetails extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about a Classic Load Balancer.
Constructor and Description |
---|
AwsElbLoadBalancerDetails() |
Modifier and Type | Method and Description |
---|---|
AwsElbLoadBalancerDetails |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAvailabilityZones()
The list of Availability Zones for the load balancer.
|
List<AwsElbLoadBalancerBackendServerDescription> |
getBackendServerDescriptions()
Information about the configuration of the EC2 instances.
|
String |
getCanonicalHostedZoneName()
The name of the Amazon Route 53 hosted zone for the load balancer.
|
String |
getCanonicalHostedZoneNameID()
The ID of the Amazon Route 53 hosted zone for the load balancer.
|
String |
getCreatedTime()
Indicates when the load balancer was created.
|
String |
getDnsName()
The DNS name of the load balancer.
|
AwsElbLoadBalancerHealthCheck |
getHealthCheck()
Information about the health checks that are conducted on the load balancer.
|
List<AwsElbLoadBalancerInstance> |
getInstances()
List of EC2 instances for the load balancer.
|
List<AwsElbLoadBalancerListenerDescription> |
getListenerDescriptions()
The policies that are enabled for the load balancer listeners.
|
AwsElbLoadBalancerAttributes |
getLoadBalancerAttributes()
The attributes for a load balancer.
|
String |
getLoadBalancerName()
The name of the load balancer.
|
AwsElbLoadBalancerPolicies |
getPolicies()
The policies for a load balancer.
|
String |
getScheme()
The type of load balancer.
|
List<String> |
getSecurityGroups()
The security groups for the load balancer.
|
AwsElbLoadBalancerSourceSecurityGroup |
getSourceSecurityGroup()
Information about the security group for the load balancer.
|
List<String> |
getSubnets()
The list of subnet identifiers for the load balancer.
|
String |
getVpcId()
The identifier of the VPC for the load balancer.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAvailabilityZones(Collection<String> availabilityZones)
The list of Availability Zones for the load balancer.
|
void |
setBackendServerDescriptions(Collection<AwsElbLoadBalancerBackendServerDescription> backendServerDescriptions)
Information about the configuration of the EC2 instances.
|
void |
setCanonicalHostedZoneName(String canonicalHostedZoneName)
The name of the Amazon Route 53 hosted zone for the load balancer.
|
void |
setCanonicalHostedZoneNameID(String canonicalHostedZoneNameID)
The ID of the Amazon Route 53 hosted zone for the load balancer.
|
void |
setCreatedTime(String createdTime)
Indicates when the load balancer was created.
|
void |
setDnsName(String dnsName)
The DNS name of the load balancer.
|
void |
setHealthCheck(AwsElbLoadBalancerHealthCheck healthCheck)
Information about the health checks that are conducted on the load balancer.
|
void |
setInstances(Collection<AwsElbLoadBalancerInstance> instances)
List of EC2 instances for the load balancer.
|
void |
setListenerDescriptions(Collection<AwsElbLoadBalancerListenerDescription> listenerDescriptions)
The policies that are enabled for the load balancer listeners.
|
void |
setLoadBalancerAttributes(AwsElbLoadBalancerAttributes loadBalancerAttributes)
The attributes for a load balancer.
|
void |
setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
void |
setPolicies(AwsElbLoadBalancerPolicies policies)
The policies for a load balancer.
|
void |
setScheme(String scheme)
The type of load balancer.
|
void |
setSecurityGroups(Collection<String> securityGroups)
The security groups for the load balancer.
|
void |
setSourceSecurityGroup(AwsElbLoadBalancerSourceSecurityGroup sourceSecurityGroup)
Information about the security group for the load balancer.
|
void |
setSubnets(Collection<String> subnets)
The list of subnet identifiers for the load balancer.
|
void |
setVpcId(String vpcId)
The identifier of the VPC for the load balancer.
|
String |
toString()
Returns a string representation of this object.
|
AwsElbLoadBalancerDetails |
withAvailabilityZones(Collection<String> availabilityZones)
The list of Availability Zones for the load balancer.
|
AwsElbLoadBalancerDetails |
withAvailabilityZones(String... availabilityZones)
The list of Availability Zones for the load balancer.
|
AwsElbLoadBalancerDetails |
withBackendServerDescriptions(AwsElbLoadBalancerBackendServerDescription... backendServerDescriptions)
Information about the configuration of the EC2 instances.
|
AwsElbLoadBalancerDetails |
withBackendServerDescriptions(Collection<AwsElbLoadBalancerBackendServerDescription> backendServerDescriptions)
Information about the configuration of the EC2 instances.
|
AwsElbLoadBalancerDetails |
withCanonicalHostedZoneName(String canonicalHostedZoneName)
The name of the Amazon Route 53 hosted zone for the load balancer.
|
AwsElbLoadBalancerDetails |
withCanonicalHostedZoneNameID(String canonicalHostedZoneNameID)
The ID of the Amazon Route 53 hosted zone for the load balancer.
|
AwsElbLoadBalancerDetails |
withCreatedTime(String createdTime)
Indicates when the load balancer was created.
|
AwsElbLoadBalancerDetails |
withDnsName(String dnsName)
The DNS name of the load balancer.
|
AwsElbLoadBalancerDetails |
withHealthCheck(AwsElbLoadBalancerHealthCheck healthCheck)
Information about the health checks that are conducted on the load balancer.
|
AwsElbLoadBalancerDetails |
withInstances(AwsElbLoadBalancerInstance... instances)
List of EC2 instances for the load balancer.
|
AwsElbLoadBalancerDetails |
withInstances(Collection<AwsElbLoadBalancerInstance> instances)
List of EC2 instances for the load balancer.
|
AwsElbLoadBalancerDetails |
withListenerDescriptions(AwsElbLoadBalancerListenerDescription... listenerDescriptions)
The policies that are enabled for the load balancer listeners.
|
AwsElbLoadBalancerDetails |
withListenerDescriptions(Collection<AwsElbLoadBalancerListenerDescription> listenerDescriptions)
The policies that are enabled for the load balancer listeners.
|
AwsElbLoadBalancerDetails |
withLoadBalancerAttributes(AwsElbLoadBalancerAttributes loadBalancerAttributes)
The attributes for a load balancer.
|
AwsElbLoadBalancerDetails |
withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
AwsElbLoadBalancerDetails |
withPolicies(AwsElbLoadBalancerPolicies policies)
The policies for a load balancer.
|
AwsElbLoadBalancerDetails |
withScheme(String scheme)
The type of load balancer.
|
AwsElbLoadBalancerDetails |
withSecurityGroups(Collection<String> securityGroups)
The security groups for the load balancer.
|
AwsElbLoadBalancerDetails |
withSecurityGroups(String... securityGroups)
The security groups for the load balancer.
|
AwsElbLoadBalancerDetails |
withSourceSecurityGroup(AwsElbLoadBalancerSourceSecurityGroup sourceSecurityGroup)
Information about the security group for the load balancer.
|
AwsElbLoadBalancerDetails |
withSubnets(Collection<String> subnets)
The list of subnet identifiers for the load balancer.
|
AwsElbLoadBalancerDetails |
withSubnets(String... subnets)
The list of subnet identifiers for the load balancer.
|
AwsElbLoadBalancerDetails |
withVpcId(String vpcId)
The identifier of the VPC for the load balancer.
|
public List<String> getAvailabilityZones()
The list of Availability Zones for the load balancer.
public void setAvailabilityZones(Collection<String> availabilityZones)
The list of Availability Zones for the load balancer.
availabilityZones
- The list of Availability Zones for the load balancer.public AwsElbLoadBalancerDetails withAvailabilityZones(String... availabilityZones)
The list of Availability Zones for the load balancer.
NOTE: This method appends the values to the existing list (if any). Use
setAvailabilityZones(java.util.Collection)
or withAvailabilityZones(java.util.Collection)
if
you want to override the existing values.
availabilityZones
- The list of Availability Zones for the load balancer.public AwsElbLoadBalancerDetails withAvailabilityZones(Collection<String> availabilityZones)
The list of Availability Zones for the load balancer.
availabilityZones
- The list of Availability Zones for the load balancer.public List<AwsElbLoadBalancerBackendServerDescription> getBackendServerDescriptions()
Information about the configuration of the EC2 instances.
public void setBackendServerDescriptions(Collection<AwsElbLoadBalancerBackendServerDescription> backendServerDescriptions)
Information about the configuration of the EC2 instances.
backendServerDescriptions
- Information about the configuration of the EC2 instances.public AwsElbLoadBalancerDetails withBackendServerDescriptions(AwsElbLoadBalancerBackendServerDescription... backendServerDescriptions)
Information about the configuration of the EC2 instances.
NOTE: This method appends the values to the existing list (if any). Use
setBackendServerDescriptions(java.util.Collection)
or
withBackendServerDescriptions(java.util.Collection)
if you want to override the existing values.
backendServerDescriptions
- Information about the configuration of the EC2 instances.public AwsElbLoadBalancerDetails withBackendServerDescriptions(Collection<AwsElbLoadBalancerBackendServerDescription> backendServerDescriptions)
Information about the configuration of the EC2 instances.
backendServerDescriptions
- Information about the configuration of the EC2 instances.public void setCanonicalHostedZoneName(String canonicalHostedZoneName)
The name of the Amazon Route 53 hosted zone for the load balancer.
canonicalHostedZoneName
- The name of the Amazon Route 53 hosted zone for the load balancer.public String getCanonicalHostedZoneName()
The name of the Amazon Route 53 hosted zone for the load balancer.
public AwsElbLoadBalancerDetails withCanonicalHostedZoneName(String canonicalHostedZoneName)
The name of the Amazon Route 53 hosted zone for the load balancer.
canonicalHostedZoneName
- The name of the Amazon Route 53 hosted zone for the load balancer.public void setCanonicalHostedZoneNameID(String canonicalHostedZoneNameID)
The ID 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.public String getCanonicalHostedZoneNameID()
The ID of the Amazon Route 53 hosted zone for the load balancer.
public AwsElbLoadBalancerDetails withCanonicalHostedZoneNameID(String canonicalHostedZoneNameID)
The ID 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.public void setCreatedTime(String createdTime)
Indicates when the load balancer was created.
Uses the date-time
format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
createdTime
- Indicates when the load balancer was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
public String getCreatedTime()
Indicates when the load balancer was created.
Uses the date-time
format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
public AwsElbLoadBalancerDetails withCreatedTime(String createdTime)
Indicates when the load balancer was created.
Uses the date-time
format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
createdTime
- Indicates when the load balancer was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
public void setDnsName(String dnsName)
The DNS name of the load balancer.
dnsName
- The DNS name of the load balancer.public String getDnsName()
The DNS name of the load balancer.
public AwsElbLoadBalancerDetails withDnsName(String dnsName)
The DNS name of the load balancer.
dnsName
- The DNS name of the load balancer.public void setHealthCheck(AwsElbLoadBalancerHealthCheck healthCheck)
Information about the health checks that are conducted on the load balancer.
healthCheck
- Information about the health checks that are conducted on the load balancer.public AwsElbLoadBalancerHealthCheck getHealthCheck()
Information about the health checks that are conducted on the load balancer.
public AwsElbLoadBalancerDetails withHealthCheck(AwsElbLoadBalancerHealthCheck healthCheck)
Information about the health checks that are conducted on the load balancer.
healthCheck
- Information about the health checks that are conducted on the load balancer.public List<AwsElbLoadBalancerInstance> getInstances()
List of EC2 instances for the load balancer.
public void setInstances(Collection<AwsElbLoadBalancerInstance> instances)
List of EC2 instances for the load balancer.
instances
- List of EC2 instances for the load balancer.public AwsElbLoadBalancerDetails withInstances(AwsElbLoadBalancerInstance... instances)
List of EC2 instances for the load balancer.
NOTE: This method appends the values to the existing list (if any). Use
setInstances(java.util.Collection)
or withInstances(java.util.Collection)
if you want to
override the existing values.
instances
- List of EC2 instances for the load balancer.public AwsElbLoadBalancerDetails withInstances(Collection<AwsElbLoadBalancerInstance> instances)
List of EC2 instances for the load balancer.
instances
- List of EC2 instances for the load balancer.public List<AwsElbLoadBalancerListenerDescription> getListenerDescriptions()
The policies that are enabled for the load balancer listeners.
public void setListenerDescriptions(Collection<AwsElbLoadBalancerListenerDescription> listenerDescriptions)
The policies that are enabled for the load balancer listeners.
listenerDescriptions
- The policies that are enabled for the load balancer listeners.public AwsElbLoadBalancerDetails withListenerDescriptions(AwsElbLoadBalancerListenerDescription... listenerDescriptions)
The policies that are enabled for the load balancer listeners.
NOTE: This method appends the values to the existing list (if any). Use
setListenerDescriptions(java.util.Collection)
or withListenerDescriptions(java.util.Collection)
if you want to override the existing values.
listenerDescriptions
- The policies that are enabled for the load balancer listeners.public AwsElbLoadBalancerDetails withListenerDescriptions(Collection<AwsElbLoadBalancerListenerDescription> listenerDescriptions)
The policies that are enabled for the load balancer listeners.
listenerDescriptions
- The policies that are enabled for the load balancer listeners.public void setLoadBalancerAttributes(AwsElbLoadBalancerAttributes loadBalancerAttributes)
The attributes for a load balancer.
loadBalancerAttributes
- The attributes for a load balancer.public AwsElbLoadBalancerAttributes getLoadBalancerAttributes()
The attributes for a load balancer.
public AwsElbLoadBalancerDetails withLoadBalancerAttributes(AwsElbLoadBalancerAttributes loadBalancerAttributes)
The attributes for a load balancer.
loadBalancerAttributes
- The attributes for a load balancer.public void setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public String getLoadBalancerName()
The name of the load balancer.
public AwsElbLoadBalancerDetails withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public void setPolicies(AwsElbLoadBalancerPolicies policies)
The policies for a load balancer.
policies
- The policies for a load balancer.public AwsElbLoadBalancerPolicies getPolicies()
The policies for a load balancer.
public AwsElbLoadBalancerDetails withPolicies(AwsElbLoadBalancerPolicies policies)
The policies for a load balancer.
policies
- The policies for a load balancer.public void setScheme(String scheme)
The type of load balancer. Only provided if the load balancer is in a VPC.
If Scheme
is internet-facing
, the load balancer has a public DNS name that resolves to
a public IP address.
If Scheme
is internal
, the load balancer has a public DNS name that resolves to a
private IP address.
scheme
- The type of load balancer. Only provided if the load balancer is in a VPC.
If Scheme
is internet-facing
, the load balancer has a public DNS name that
resolves to a public IP address.
If Scheme
is internal
, the load balancer has a public DNS name that resolves to
a private IP address.
public String getScheme()
The type of load balancer. Only provided if the load balancer is in a VPC.
If Scheme
is internet-facing
, the load balancer has a public DNS name that resolves to
a public IP address.
If Scheme
is internal
, the load balancer has a public DNS name that resolves to a
private IP address.
If Scheme
is internet-facing
, the load balancer has a public DNS name that
resolves to a public IP address.
If Scheme
is internal
, the load balancer has a public DNS name that resolves to
a private IP address.
public AwsElbLoadBalancerDetails withScheme(String scheme)
The type of load balancer. Only provided if the load balancer is in a VPC.
If Scheme
is internet-facing
, the load balancer has a public DNS name that resolves to
a public IP address.
If Scheme
is internal
, the load balancer has a public DNS name that resolves to a
private IP address.
scheme
- The type of load balancer. Only provided if the load balancer is in a VPC.
If Scheme
is internet-facing
, the load balancer has a public DNS name that
resolves to a public IP address.
If Scheme
is internal
, the load balancer has a public DNS name that resolves to
a private IP address.
public List<String> getSecurityGroups()
The security groups for the load balancer. Only provided if the load balancer is in a VPC.
public void setSecurityGroups(Collection<String> securityGroups)
The security groups for the load balancer. Only provided if the load balancer is in a VPC.
securityGroups
- The security groups for the load balancer. Only provided if the load balancer is in a VPC.public AwsElbLoadBalancerDetails withSecurityGroups(String... securityGroups)
The security groups for the load balancer. Only provided if the load balancer is in a VPC.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroups(java.util.Collection)
or withSecurityGroups(java.util.Collection)
if you want
to override the existing values.
securityGroups
- The security groups for the load balancer. Only provided if the load balancer is in a VPC.public AwsElbLoadBalancerDetails withSecurityGroups(Collection<String> securityGroups)
The security groups for the load balancer. Only provided if the load balancer is in a VPC.
securityGroups
- The security groups for the load balancer. Only provided if the load balancer is in a VPC.public void setSourceSecurityGroup(AwsElbLoadBalancerSourceSecurityGroup sourceSecurityGroup)
Information about the security group for the load balancer. This is the security group that is used for inbound rules.
sourceSecurityGroup
- Information about the security group for the load balancer. This is the security group that is used for
inbound rules.public AwsElbLoadBalancerSourceSecurityGroup getSourceSecurityGroup()
Information about the security group for the load balancer. This is the security group that is used for inbound rules.
public AwsElbLoadBalancerDetails withSourceSecurityGroup(AwsElbLoadBalancerSourceSecurityGroup sourceSecurityGroup)
Information about the security group for the load balancer. This is the security group that is used for inbound rules.
sourceSecurityGroup
- Information about the security group for the load balancer. This is the security group that is used for
inbound rules.public List<String> getSubnets()
The list of subnet identifiers for the load balancer.
public void setSubnets(Collection<String> subnets)
The list of subnet identifiers for the load balancer.
subnets
- The list of subnet identifiers for the load balancer.public AwsElbLoadBalancerDetails withSubnets(String... subnets)
The list of subnet identifiers for the load balancer.
NOTE: This method appends the values to the existing list (if any). Use
setSubnets(java.util.Collection)
or withSubnets(java.util.Collection)
if you want to override
the existing values.
subnets
- The list of subnet identifiers for the load balancer.public AwsElbLoadBalancerDetails withSubnets(Collection<String> subnets)
The list of subnet identifiers for the load balancer.
subnets
- The list of subnet identifiers for the load balancer.public void setVpcId(String vpcId)
The identifier of the VPC for the load balancer.
vpcId
- The identifier of the VPC for the load balancer.public String getVpcId()
The identifier of the VPC for the load balancer.
public AwsElbLoadBalancerDetails withVpcId(String vpcId)
The identifier of the VPC for the load balancer.
vpcId
- The identifier of the VPC for the load balancer.public String toString()
toString
in class Object
Object.toString()
public AwsElbLoadBalancerDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.