Interface AwsElbLoadBalancerDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsElbLoadBalancerDetails.Builder,
,AwsElbLoadBalancerDetails> SdkBuilder<AwsElbLoadBalancerDetails.Builder,
,AwsElbLoadBalancerDetails> SdkPojo
- Enclosing class:
AwsElbLoadBalancerDetails
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZones
(String... availabilityZones) The list of Availability Zones for the load balancer.availabilityZones
(Collection<String> availabilityZones) The list of Availability Zones for the load balancer.backendServerDescriptions
(Collection<AwsElbLoadBalancerBackendServerDescription> backendServerDescriptions) Information about the configuration of the EC2 instances.backendServerDescriptions
(Consumer<AwsElbLoadBalancerBackendServerDescription.Builder>... backendServerDescriptions) Information about the configuration of the EC2 instances.backendServerDescriptions
(AwsElbLoadBalancerBackendServerDescription... backendServerDescriptions) Information about the configuration of the EC2 instances.canonicalHostedZoneName
(String canonicalHostedZoneName) The name of the Amazon Route 53 hosted zone for the load balancer.canonicalHostedZoneNameID
(String canonicalHostedZoneNameID) The ID of the Amazon Route 53 hosted zone for the load balancer.createdTime
(String createdTime) Indicates when the load balancer was created.The DNS name of the load balancer.healthCheck
(Consumer<AwsElbLoadBalancerHealthCheck.Builder> healthCheck) Information about the health checks that are conducted on the load balancer.healthCheck
(AwsElbLoadBalancerHealthCheck healthCheck) Information about the health checks that are conducted on the load balancer.instances
(Collection<AwsElbLoadBalancerInstance> instances) List of EC2 instances for the load balancer.instances
(Consumer<AwsElbLoadBalancerInstance.Builder>... instances) List of EC2 instances for the load balancer.instances
(AwsElbLoadBalancerInstance... instances) List of EC2 instances for the load balancer.listenerDescriptions
(Collection<AwsElbLoadBalancerListenerDescription> listenerDescriptions) The policies that are enabled for the load balancer listeners.listenerDescriptions
(Consumer<AwsElbLoadBalancerListenerDescription.Builder>... listenerDescriptions) The policies that are enabled for the load balancer listeners.listenerDescriptions
(AwsElbLoadBalancerListenerDescription... listenerDescriptions) The policies that are enabled for the load balancer listeners.loadBalancerAttributes
(Consumer<AwsElbLoadBalancerAttributes.Builder> loadBalancerAttributes) The attributes for a load balancer.loadBalancerAttributes
(AwsElbLoadBalancerAttributes loadBalancerAttributes) The attributes for a load balancer.loadBalancerName
(String loadBalancerName) The name of the load balancer.policies
(Consumer<AwsElbLoadBalancerPolicies.Builder> policies) The policies for a load balancer.policies
(AwsElbLoadBalancerPolicies policies) The policies for a load balancer.The type of load balancer.securityGroups
(String... securityGroups) The security groups for the load balancer.securityGroups
(Collection<String> securityGroups) The security groups for the load balancer.sourceSecurityGroup
(Consumer<AwsElbLoadBalancerSourceSecurityGroup.Builder> sourceSecurityGroup) Information about the security group for the load balancer.sourceSecurityGroup
(AwsElbLoadBalancerSourceSecurityGroup sourceSecurityGroup) Information about the security group for the load balancer.The list of subnet identifiers for the load balancer.subnets
(Collection<String> subnets) The list of subnet identifiers for the load balancer.The identifier of the VPC for the load balancer.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
availabilityZones
The list of Availability Zones for the load balancer.
- Parameters:
availabilityZones
- The list of Availability Zones for the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZones
The list of Availability Zones for the load balancer.
- Parameters:
availabilityZones
- The list of Availability Zones for the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backendServerDescriptions
AwsElbLoadBalancerDetails.Builder backendServerDescriptions(Collection<AwsElbLoadBalancerBackendServerDescription> backendServerDescriptions) Information about the configuration of the EC2 instances.
- Parameters:
backendServerDescriptions
- Information about the configuration of the EC2 instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backendServerDescriptions
AwsElbLoadBalancerDetails.Builder backendServerDescriptions(AwsElbLoadBalancerBackendServerDescription... backendServerDescriptions) Information about the configuration of the EC2 instances.
- Parameters:
backendServerDescriptions
- Information about the configuration of the EC2 instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backendServerDescriptions
AwsElbLoadBalancerDetails.Builder backendServerDescriptions(Consumer<AwsElbLoadBalancerBackendServerDescription.Builder>... backendServerDescriptions) Information about the configuration of the EC2 instances.
This is a convenience method that creates an instance of theAwsElbLoadBalancerBackendServerDescription.Builder
avoiding the need to create one manually viaAwsElbLoadBalancerBackendServerDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobackendServerDescriptions(List<AwsElbLoadBalancerBackendServerDescription>)
.- Parameters:
backendServerDescriptions
- a consumer that will call methods onAwsElbLoadBalancerBackendServerDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
canonicalHostedZoneName
The name of the Amazon Route 53 hosted zone for the load balancer.
- Parameters:
canonicalHostedZoneName
- The name of the Amazon Route 53 hosted zone for the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
canonicalHostedZoneNameID
The ID of the Amazon Route 53 hosted zone for the load balancer.
- Parameters:
canonicalHostedZoneNameID
- The ID of the Amazon Route 53 hosted zone for the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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, and date and time should be separated byT
. For example,2020-03-22T13:22:13.933Z
.- Parameters:
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, and date and time should be separated byT
. For example,2020-03-22T13:22:13.933Z
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsName
The DNS name of the load balancer.
- Parameters:
dnsName
- The DNS name of the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthCheck
Information about the health checks that are conducted on the load balancer.
- Parameters:
healthCheck
- Information about the health checks that are conducted on the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthCheck
default AwsElbLoadBalancerDetails.Builder healthCheck(Consumer<AwsElbLoadBalancerHealthCheck.Builder> healthCheck) Information about the health checks that are conducted on the load balancer.
This is a convenience method that creates an instance of theAwsElbLoadBalancerHealthCheck.Builder
avoiding the need to create one manually viaAwsElbLoadBalancerHealthCheck.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohealthCheck(AwsElbLoadBalancerHealthCheck)
.- Parameters:
healthCheck
- a consumer that will call methods onAwsElbLoadBalancerHealthCheck.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instances
List of EC2 instances for the load balancer.
- Parameters:
instances
- List of EC2 instances for the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instances
List of EC2 instances for the load balancer.
- Parameters:
instances
- List of EC2 instances for the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instances
AwsElbLoadBalancerDetails.Builder instances(Consumer<AwsElbLoadBalancerInstance.Builder>... instances) List of EC2 instances for the load balancer.
This is a convenience method that creates an instance of theAwsElbLoadBalancerInstance.Builder
avoiding the need to create one manually viaAwsElbLoadBalancerInstance.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstances(List<AwsElbLoadBalancerInstance>)
.- Parameters:
instances
- a consumer that will call methods onAwsElbLoadBalancerInstance.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
listenerDescriptions
AwsElbLoadBalancerDetails.Builder listenerDescriptions(Collection<AwsElbLoadBalancerListenerDescription> listenerDescriptions) The policies that are enabled for the load balancer listeners.
- Parameters:
listenerDescriptions
- The policies that are enabled for the load balancer listeners.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
listenerDescriptions
AwsElbLoadBalancerDetails.Builder listenerDescriptions(AwsElbLoadBalancerListenerDescription... listenerDescriptions) The policies that are enabled for the load balancer listeners.
- Parameters:
listenerDescriptions
- The policies that are enabled for the load balancer listeners.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
listenerDescriptions
AwsElbLoadBalancerDetails.Builder listenerDescriptions(Consumer<AwsElbLoadBalancerListenerDescription.Builder>... listenerDescriptions) The policies that are enabled for the load balancer listeners.
This is a convenience method that creates an instance of theAwsElbLoadBalancerListenerDescription.Builder
avoiding the need to create one manually viaAwsElbLoadBalancerListenerDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolistenerDescriptions(List<AwsElbLoadBalancerListenerDescription>)
.- Parameters:
listenerDescriptions
- a consumer that will call methods onAwsElbLoadBalancerListenerDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
loadBalancerAttributes
AwsElbLoadBalancerDetails.Builder loadBalancerAttributes(AwsElbLoadBalancerAttributes loadBalancerAttributes) The attributes for a load balancer.
- Parameters:
loadBalancerAttributes
- The attributes for a load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadBalancerAttributes
default AwsElbLoadBalancerDetails.Builder loadBalancerAttributes(Consumer<AwsElbLoadBalancerAttributes.Builder> loadBalancerAttributes) The attributes for a load balancer.
This is a convenience method that creates an instance of theAwsElbLoadBalancerAttributes.Builder
avoiding the need to create one manually viaAwsElbLoadBalancerAttributes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toloadBalancerAttributes(AwsElbLoadBalancerAttributes)
.- Parameters:
loadBalancerAttributes
- a consumer that will call methods onAwsElbLoadBalancerAttributes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
loadBalancerName
The name of the load balancer.
- Parameters:
loadBalancerName
- The name of the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policies
The policies for a load balancer.
- Parameters:
policies
- The policies for a load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policies
default AwsElbLoadBalancerDetails.Builder policies(Consumer<AwsElbLoadBalancerPolicies.Builder> policies) The policies for a load balancer.
This is a convenience method that creates an instance of theAwsElbLoadBalancerPolicies.Builder
avoiding the need to create one manually viaAwsElbLoadBalancerPolicies.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topolicies(AwsElbLoadBalancerPolicies)
.- Parameters:
policies
- a consumer that will call methods onAwsElbLoadBalancerPolicies.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scheme
The type of load balancer. Only provided if the load balancer is in a VPC.
If
Scheme
isinternet-facing
, the load balancer has a public DNS name that resolves to a public IP address.If
Scheme
isinternal
, the load balancer has a public DNS name that resolves to a private IP address.- Parameters:
scheme
- The type of load balancer. Only provided if the load balancer is in a VPC.If
Scheme
isinternet-facing
, the load balancer has a public DNS name that resolves to a public IP address.If
Scheme
isinternal
, the load balancer has a public DNS name that resolves to a private IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
The security groups for the load balancer. Only provided if the load balancer is in a VPC.
- Parameters:
securityGroups
- The security groups for the load balancer. Only provided if the load balancer is in a VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
The security groups for the load balancer. Only provided if the load balancer is in a VPC.
- Parameters:
securityGroups
- The security groups for the load balancer. Only provided if the load balancer is in a VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceSecurityGroup
AwsElbLoadBalancerDetails.Builder sourceSecurityGroup(AwsElbLoadBalancerSourceSecurityGroup sourceSecurityGroup) Information about the security group for the load balancer. This is the security group that is used for inbound rules.
- Parameters:
sourceSecurityGroup
- Information about the security group for the load balancer. This is the security group that is used for inbound rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceSecurityGroup
default AwsElbLoadBalancerDetails.Builder sourceSecurityGroup(Consumer<AwsElbLoadBalancerSourceSecurityGroup.Builder> sourceSecurityGroup) Information about the security group for the load balancer. This is the security group that is used for inbound rules.
This is a convenience method that creates an instance of theAwsElbLoadBalancerSourceSecurityGroup.Builder
avoiding the need to create one manually viaAwsElbLoadBalancerSourceSecurityGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceSecurityGroup(AwsElbLoadBalancerSourceSecurityGroup)
.- Parameters:
sourceSecurityGroup
- a consumer that will call methods onAwsElbLoadBalancerSourceSecurityGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subnets
The list of subnet identifiers for the load balancer.
- Parameters:
subnets
- The list of subnet identifiers for the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
The list of subnet identifiers for the load balancer.
- Parameters:
subnets
- The list of subnet identifiers for the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcId
The identifier of the VPC for the load balancer.
- Parameters:
vpcId
- The identifier of the VPC for the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-