Interface AwsElbLoadBalancerDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsElbLoadBalancerDetails.Builder,AwsElbLoadBalancerDetails>,SdkBuilder<AwsElbLoadBalancerDetails.Builder,AwsElbLoadBalancerDetails>,SdkPojo
- Enclosing class:
- AwsElbLoadBalancerDetails
public static interface AwsElbLoadBalancerDetails.Builder extends SdkPojo, CopyableBuilder<AwsElbLoadBalancerDetails.Builder,AwsElbLoadBalancerDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AwsElbLoadBalancerDetails.BuilderavailabilityZones(String... availabilityZones)The list of Availability Zones for the load balancer.AwsElbLoadBalancerDetails.BuilderavailabilityZones(Collection<String> availabilityZones)The list of Availability Zones for the load balancer.AwsElbLoadBalancerDetails.BuilderbackendServerDescriptions(Collection<AwsElbLoadBalancerBackendServerDescription> backendServerDescriptions)Information about the configuration of the EC2 instances.AwsElbLoadBalancerDetails.BuilderbackendServerDescriptions(Consumer<AwsElbLoadBalancerBackendServerDescription.Builder>... backendServerDescriptions)Information about the configuration of the EC2 instances.AwsElbLoadBalancerDetails.BuilderbackendServerDescriptions(AwsElbLoadBalancerBackendServerDescription... backendServerDescriptions)Information about the configuration of the EC2 instances.AwsElbLoadBalancerDetails.BuildercanonicalHostedZoneName(String canonicalHostedZoneName)The name of the Amazon Route 53 hosted zone for the load balancer.AwsElbLoadBalancerDetails.BuildercanonicalHostedZoneNameID(String canonicalHostedZoneNameID)The ID of the Amazon Route 53 hosted zone for the load balancer.AwsElbLoadBalancerDetails.BuildercreatedTime(String createdTime)Indicates when the load balancer was created.AwsElbLoadBalancerDetails.BuilderdnsName(String dnsName)The DNS name of the load balancer.default AwsElbLoadBalancerDetails.BuilderhealthCheck(Consumer<AwsElbLoadBalancerHealthCheck.Builder> healthCheck)Information about the health checks that are conducted on the load balancer.AwsElbLoadBalancerDetails.BuilderhealthCheck(AwsElbLoadBalancerHealthCheck healthCheck)Information about the health checks that are conducted on the load balancer.AwsElbLoadBalancerDetails.Builderinstances(Collection<AwsElbLoadBalancerInstance> instances)List of EC2 instances for the load balancer.AwsElbLoadBalancerDetails.Builderinstances(Consumer<AwsElbLoadBalancerInstance.Builder>... instances)List of EC2 instances for the load balancer.AwsElbLoadBalancerDetails.Builderinstances(AwsElbLoadBalancerInstance... instances)List of EC2 instances for the load balancer.AwsElbLoadBalancerDetails.BuilderlistenerDescriptions(Collection<AwsElbLoadBalancerListenerDescription> listenerDescriptions)The policies that are enabled for the load balancer listeners.AwsElbLoadBalancerDetails.BuilderlistenerDescriptions(Consumer<AwsElbLoadBalancerListenerDescription.Builder>... listenerDescriptions)The policies that are enabled for the load balancer listeners.AwsElbLoadBalancerDetails.BuilderlistenerDescriptions(AwsElbLoadBalancerListenerDescription... listenerDescriptions)The policies that are enabled for the load balancer listeners.default AwsElbLoadBalancerDetails.BuilderloadBalancerAttributes(Consumer<AwsElbLoadBalancerAttributes.Builder> loadBalancerAttributes)The attributes for a load balancer.AwsElbLoadBalancerDetails.BuilderloadBalancerAttributes(AwsElbLoadBalancerAttributes loadBalancerAttributes)The attributes for a load balancer.AwsElbLoadBalancerDetails.BuilderloadBalancerName(String loadBalancerName)The name of the load balancer.default AwsElbLoadBalancerDetails.Builderpolicies(Consumer<AwsElbLoadBalancerPolicies.Builder> policies)The policies for a load balancer.AwsElbLoadBalancerDetails.Builderpolicies(AwsElbLoadBalancerPolicies policies)The policies for a load balancer.AwsElbLoadBalancerDetails.Builderscheme(String scheme)The type of load balancer.AwsElbLoadBalancerDetails.BuildersecurityGroups(String... securityGroups)The security groups for the load balancer.AwsElbLoadBalancerDetails.BuildersecurityGroups(Collection<String> securityGroups)The security groups for the load balancer.default AwsElbLoadBalancerDetails.BuildersourceSecurityGroup(Consumer<AwsElbLoadBalancerSourceSecurityGroup.Builder> sourceSecurityGroup)Information about the security group for the load balancer.AwsElbLoadBalancerDetails.BuildersourceSecurityGroup(AwsElbLoadBalancerSourceSecurityGroup sourceSecurityGroup)Information about the security group for the load balancer.AwsElbLoadBalancerDetails.Buildersubnets(String... subnets)The list of subnet identifiers for the load balancer.AwsElbLoadBalancerDetails.Buildersubnets(Collection<String> subnets)The list of subnet identifiers for the load balancer.AwsElbLoadBalancerDetails.BuildervpcId(String vpcId)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 Detail
-
availabilityZones
AwsElbLoadBalancerDetails.Builder availabilityZones(Collection<String> 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
AwsElbLoadBalancerDetails.Builder availabilityZones(String... 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.Builderavoiding the need to create one manually viaAwsElbLoadBalancerBackendServerDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#backendServerDescriptions(List.) - 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:
#backendServerDescriptions(java.util.Collection)
-
canonicalHostedZoneName
AwsElbLoadBalancerDetails.Builder canonicalHostedZoneName(String 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
AwsElbLoadBalancerDetails.Builder canonicalHostedZoneNameID(String 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
AwsElbLoadBalancerDetails.Builder createdTime(String createdTime)
Indicates when the load balancer was created.
This field accepts only the specified formats. Timestamps can end with
Zor("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
- Parameters:
createdTime- Indicates when the load balancer was created.This field accepts only the specified formats. Timestamps can end with
Zor("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
dnsName
AwsElbLoadBalancerDetails.Builder dnsName(String 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
AwsElbLoadBalancerDetails.Builder healthCheck(AwsElbLoadBalancerHealthCheck 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.Builderavoiding the need to create one manually viaAwsElbLoadBalancerHealthCheck.builder().When the
Consumercompletes,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:
healthCheck(AwsElbLoadBalancerHealthCheck)
-
instances
AwsElbLoadBalancerDetails.Builder instances(Collection<AwsElbLoadBalancerInstance> 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(AwsElbLoadBalancerInstance... 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.Builderavoiding the need to create one manually viaAwsElbLoadBalancerInstance.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#instances(List.) - 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:
#instances(java.util.Collection)
-
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.Builderavoiding the need to create one manually viaAwsElbLoadBalancerListenerDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#listenerDescriptions(List.) - 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:
#listenerDescriptions(java.util.Collection)
-
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.Builderavoiding the need to create one manually viaAwsElbLoadBalancerAttributes.builder().When the
Consumercompletes,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:
loadBalancerAttributes(AwsElbLoadBalancerAttributes)
-
loadBalancerName
AwsElbLoadBalancerDetails.Builder loadBalancerName(String 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
AwsElbLoadBalancerDetails.Builder policies(AwsElbLoadBalancerPolicies 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.Builderavoiding the need to create one manually viaAwsElbLoadBalancerPolicies.builder().When the
Consumercompletes,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:
policies(AwsElbLoadBalancerPolicies)
-
scheme
AwsElbLoadBalancerDetails.Builder scheme(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.- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
AwsElbLoadBalancerDetails.Builder securityGroups(Collection<String> 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
AwsElbLoadBalancerDetails.Builder securityGroups(String... 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.Builderavoiding the need to create one manually viaAwsElbLoadBalancerSourceSecurityGroup.builder().When the
Consumercompletes,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:
sourceSecurityGroup(AwsElbLoadBalancerSourceSecurityGroup)
-
subnets
AwsElbLoadBalancerDetails.Builder subnets(Collection<String> 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
AwsElbLoadBalancerDetails.Builder subnets(String... 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
AwsElbLoadBalancerDetails.Builder vpcId(String 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.
-
-