CopyableBuilder<LoadBalancerDescription.Builder,LoadBalancerDescription>
, SdkBuilder<LoadBalancerDescription.Builder,LoadBalancerDescription>
public static interface LoadBalancerDescription.Builder extends CopyableBuilder<LoadBalancerDescription.Builder,LoadBalancerDescription>
Modifier and Type | Method | Description |
---|---|---|
LoadBalancerDescription.Builder |
availabilityZones(String... availabilityZones) |
The Availability Zones for the load balancer.
|
LoadBalancerDescription.Builder |
availabilityZones(Collection<String> availabilityZones) |
The Availability Zones for the load balancer.
|
LoadBalancerDescription.Builder |
backendServerDescriptions(Collection<BackendServerDescription> backendServerDescriptions) |
Information about your EC2 instances.
|
LoadBalancerDescription.Builder |
backendServerDescriptions(BackendServerDescription... backendServerDescriptions) |
Information about your EC2 instances.
|
LoadBalancerDescription.Builder |
canonicalHostedZoneName(String canonicalHostedZoneName) |
The DNS name of the load balancer.
|
LoadBalancerDescription.Builder |
canonicalHostedZoneNameID(String canonicalHostedZoneNameID) |
The ID of the Amazon Route 53 hosted zone for the load balancer.
|
LoadBalancerDescription.Builder |
createdTime(Date createdTime) |
The date and time the load balancer was created.
|
LoadBalancerDescription.Builder |
dnsName(String dnsName) |
The DNS name of the load balancer.
|
LoadBalancerDescription.Builder |
healthCheck(HealthCheck healthCheck) |
Information about the health checks conducted on the load balancer.
|
LoadBalancerDescription.Builder |
instances(Collection<Instance> instances) |
The IDs of the instances for the load balancer.
|
LoadBalancerDescription.Builder |
instances(Instance... instances) |
The IDs of the instances for the load balancer.
|
LoadBalancerDescription.Builder |
listenerDescriptions(Collection<ListenerDescription> listenerDescriptions) |
The listeners for the load balancer.
|
LoadBalancerDescription.Builder |
listenerDescriptions(ListenerDescription... listenerDescriptions) |
The listeners for the load balancer.
|
LoadBalancerDescription.Builder |
loadBalancerName(String loadBalancerName) |
The name of the load balancer.
|
LoadBalancerDescription.Builder |
policies(Policies policies) |
The policies defined for the load balancer.
|
LoadBalancerDescription.Builder |
scheme(String scheme) |
The type of load balancer.
|
LoadBalancerDescription.Builder |
securityGroups(String... securityGroups) |
The security groups for the load balancer.
|
LoadBalancerDescription.Builder |
securityGroups(Collection<String> securityGroups) |
The security groups for the load balancer.
|
LoadBalancerDescription.Builder |
sourceSecurityGroup(SourceSecurityGroup sourceSecurityGroup) |
The security group for the load balancer, which you can use as part of your inbound rules for your registered
instances.
|
LoadBalancerDescription.Builder |
subnets(String... subnets) |
The IDs of the subnets for the load balancer.
|
LoadBalancerDescription.Builder |
subnets(Collection<String> subnets) |
The IDs of the subnets for the load balancer.
|
LoadBalancerDescription.Builder |
vpcId(String vpcId) |
The ID of the VPC for the load balancer.
|
copy
apply, build
LoadBalancerDescription.Builder loadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.LoadBalancerDescription.Builder dnsName(String dnsName)
The DNS name of the load balancer.
dnsName
- The DNS name of the load balancer.LoadBalancerDescription.Builder canonicalHostedZoneName(String canonicalHostedZoneName)
The DNS name of the load balancer.
For more information, see Configure a Custom Domain Name in the Classic Load Balancer Guide.
canonicalHostedZoneName
- The DNS name of the load balancer.
For more information, see Configure a Custom Domain Name in the Classic Load Balancer Guide.
LoadBalancerDescription.Builder canonicalHostedZoneNameID(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.LoadBalancerDescription.Builder listenerDescriptions(Collection<ListenerDescription> listenerDescriptions)
The listeners for the load balancer.
listenerDescriptions
- The listeners for the load balancer.LoadBalancerDescription.Builder listenerDescriptions(ListenerDescription... listenerDescriptions)
The listeners for the load balancer.
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 listeners for the load balancer.LoadBalancerDescription.Builder policies(Policies policies)
The policies defined for the load balancer.
policies
- The policies defined for the load balancer.LoadBalancerDescription.Builder backendServerDescriptions(Collection<BackendServerDescription> backendServerDescriptions)
Information about your EC2 instances.
backendServerDescriptions
- Information about your EC2 instances.LoadBalancerDescription.Builder backendServerDescriptions(BackendServerDescription... backendServerDescriptions)
Information about your 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 your EC2 instances.LoadBalancerDescription.Builder availabilityZones(Collection<String> availabilityZones)
The Availability Zones for the load balancer.
availabilityZones
- The Availability Zones for the load balancer.LoadBalancerDescription.Builder availabilityZones(String... availabilityZones)
The 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 Availability Zones for the load balancer.LoadBalancerDescription.Builder subnets(Collection<String> subnets)
The IDs of the subnets for the load balancer.
subnets
- The IDs of the subnets for the load balancer.LoadBalancerDescription.Builder subnets(String... subnets)
The IDs of the subnets 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 IDs of the subnets for the load balancer.LoadBalancerDescription.Builder vpcId(String vpcId)
The ID of the VPC for the load balancer.
vpcId
- The ID of the VPC for the load balancer.LoadBalancerDescription.Builder instances(Collection<Instance> instances)
The IDs of the instances for the load balancer.
instances
- The IDs of the instances for the load balancer.LoadBalancerDescription.Builder instances(Instance... instances)
The IDs of the 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
- The IDs of the instances for the load balancer.LoadBalancerDescription.Builder healthCheck(HealthCheck healthCheck)
Information about the health checks conducted on the load balancer.
healthCheck
- Information about the health checks conducted on the load balancer.LoadBalancerDescription.Builder sourceSecurityGroup(SourceSecurityGroup sourceSecurityGroup)
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.
sourceSecurityGroup
- 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.LoadBalancerDescription.Builder securityGroups(Collection<String> securityGroups)
The security groups for the load balancer. Valid only for load balancers in a VPC.
securityGroups
- The security groups for the load balancer. Valid only for load balancers in a VPC.LoadBalancerDescription.Builder securityGroups(String... securityGroups)
The security groups for the load balancer. Valid only for load balancers 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. Valid only for load balancers in a VPC.LoadBalancerDescription.Builder createdTime(Date createdTime)
The date and time the load balancer was created.
createdTime
- The date and time the load balancer was created.LoadBalancerDescription.Builder scheme(String scheme)
The type of load balancer. Valid only for load balancers 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. Valid only for load balancers 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.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.