public static interface LoadBalancerDescription.Builder extends CopyableBuilder<LoadBalancerDescription.Builder,LoadBalancerDescription>
Modifier and Type | Method and Description |
---|---|
LoadBalancerDescription.Builder |
availabilityZones(Collection<String> availabilityZones)
The Availability Zones for the load balancer.
|
LoadBalancerDescription.Builder |
availabilityZones(String... availabilityZones)
The Availability Zones for the load balancer.
|
LoadBalancerDescription.Builder |
backendServerDescriptions(BackendServerDescription... backendServerDescriptions)
Information about your EC2 instances.
|
LoadBalancerDescription.Builder |
backendServerDescriptions(Collection<BackendServerDescription> backendServerDescriptions)
Information about your EC2 instances.
|
LoadBalancerDescription.Builder |
backendServerDescriptions(Consumer<BackendServerDescription.Builder>... 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(Instant createdTime)
The date and time the load balancer was created.
|
LoadBalancerDescription.Builder |
dnsName(String dnsName)
The DNS name of the load balancer.
|
default LoadBalancerDescription.Builder |
healthCheck(Consumer<HealthCheck.Builder> healthCheck)
Information about the health checks conducted on 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(Consumer<Instance.Builder>... 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(Consumer<ListenerDescription.Builder>... 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.
|
default LoadBalancerDescription.Builder |
policies(Consumer<Policies.Builder> policies)
The policies defined for 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(Collection<String> securityGroups)
The security groups for the load balancer.
|
LoadBalancerDescription.Builder |
securityGroups(String... securityGroups)
The security groups for the load balancer.
|
default LoadBalancerDescription.Builder |
sourceSecurityGroup(Consumer<SourceSecurityGroup.Builder> sourceSecurityGroup)
The security group for the load balancer, which you can use as part of your inbound rules for your registered
instances.
|
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(Collection<String> subnets)
The IDs of the subnets for the load balancer.
|
LoadBalancerDescription.Builder |
subnets(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
applyMutation, 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.
listenerDescriptions
- The listeners for the load balancer.LoadBalancerDescription.Builder listenerDescriptions(Consumer<ListenerDescription.Builder>... listenerDescriptions)
The listeners for the load balancer.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #listenerDescriptions(List)
.listenerDescriptions
- a consumer that will call methods on List.Builder
#listenerDescriptions(List)
LoadBalancerDescription.Builder policies(Policies policies)
The policies defined for the load balancer.
policies
- The policies defined for the load balancer.default LoadBalancerDescription.Builder policies(Consumer<Policies.Builder> policies)
The policies defined for the load balancer.
This is a convenience that creates an instance of thePolicies.Builder
avoiding the need to create
one manually via Policies.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to policies(Policies)
.policies
- a consumer that will call methods on Policies.Builder
policies(Policies)
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.
backendServerDescriptions
- Information about your EC2 instances.LoadBalancerDescription.Builder backendServerDescriptions(Consumer<BackendServerDescription.Builder>... backendServerDescriptions)
Information about your EC2 instances.
This is a convenience that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #backendServerDescriptions(List)
.backendServerDescriptions
- a consumer that will call methods on List.Builder
#backendServerDescriptions(List)
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.
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.
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.
instances
- The IDs of the instances for the load balancer.LoadBalancerDescription.Builder instances(Consumer<Instance.Builder>... instances)
The IDs of the instances for the load balancer.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #instances(List)
.instances
- a consumer that will call methods on List.Builder
#instances(List)
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.default LoadBalancerDescription.Builder healthCheck(Consumer<HealthCheck.Builder> healthCheck)
Information about the health checks conducted on the load balancer.
This is a convenience that creates an instance of theHealthCheck.Builder
avoiding the need to create
one manually via HealthCheck.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to healthCheck(HealthCheck)
.healthCheck
- a consumer that will call methods on HealthCheck.Builder
healthCheck(HealthCheck)
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.default LoadBalancerDescription.Builder sourceSecurityGroup(Consumer<SourceSecurityGroup.Builder> 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.
This is a convenience that creates an instance of theSourceSecurityGroup.Builder
avoiding the need
to create one manually via SourceSecurityGroup.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to sourceSecurityGroup(SourceSecurityGroup)
.sourceSecurityGroup
- a consumer that will call methods on SourceSecurityGroup.Builder
sourceSecurityGroup(SourceSecurityGroup)
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.
securityGroups
- The security groups for the load balancer. Valid only for load balancers in a VPC.LoadBalancerDescription.Builder createdTime(Instant 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.