Interface AwsElbv2LoadBalancerDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsElbv2LoadBalancerDetails.Builder,
,AwsElbv2LoadBalancerDetails> SdkBuilder<AwsElbv2LoadBalancerDetails.Builder,
,AwsElbv2LoadBalancerDetails> SdkPojo
- Enclosing class:
AwsElbv2LoadBalancerDetails
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZones
(Collection<AvailabilityZone> availabilityZones) The Availability Zones for the load balancer.availabilityZones
(Consumer<AvailabilityZone.Builder>... availabilityZones) The Availability Zones for the load balancer.availabilityZones
(AvailabilityZone... availabilityZones) The Availability Zones for the load balancer.canonicalHostedZoneId
(String canonicalHostedZoneId) The ID of the Amazon Route 53 hosted zone associated with the load balancer.createdTime
(String createdTime) Indicates when the load balancer was created.The public DNS name of the load balancer.ipAddressType
(String ipAddressType) The type of IP addresses used by the subnets for your load balancer.loadBalancerAttributes
(Collection<AwsElbv2LoadBalancerAttribute> loadBalancerAttributes) Attributes of the load balancer.loadBalancerAttributes
(Consumer<AwsElbv2LoadBalancerAttribute.Builder>... loadBalancerAttributes) Attributes of the load balancer.loadBalancerAttributes
(AwsElbv2LoadBalancerAttribute... loadBalancerAttributes) Attributes of the load balancer.The nodes of an Internet-facing load balancer have public IP addresses.securityGroups
(String... securityGroups) The IDs of the security groups for the load balancer.securityGroups
(Collection<String> securityGroups) The IDs of the security groups for the load balancer.state
(Consumer<LoadBalancerState.Builder> state) The state of the load balancer.state
(LoadBalancerState state) The state of the load balancer.The type of load balancer.The ID 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
AwsElbv2LoadBalancerDetails.Builder availabilityZones(Collection<AvailabilityZone> availabilityZones) The Availability Zones for the load balancer.
- Parameters:
availabilityZones
- The Availability Zones for the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZones
The Availability Zones for the load balancer.
- Parameters:
availabilityZones
- The Availability Zones for the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZones
AwsElbv2LoadBalancerDetails.Builder availabilityZones(Consumer<AvailabilityZone.Builder>... availabilityZones) The Availability Zones for the load balancer.
This is a convenience method that creates an instance of theAvailabilityZone.Builder
avoiding the need to create one manually viaAvailabilityZone.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toavailabilityZones(List<AvailabilityZone>)
.- Parameters:
availabilityZones
- a consumer that will call methods onAvailabilityZone.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
canonicalHostedZoneId
The ID of the Amazon Route 53 hosted zone associated with the load balancer.
- Parameters:
canonicalHostedZoneId
- The ID of the Amazon Route 53 hosted zone associated with 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.
This field accepts only the specified formats. Timestamps can end with
Z
or("+" / "-") 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
Z
or("+" / "-") 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
The public DNS name of the load balancer.
- Parameters:
dnsName
- The public DNS name of the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipAddressType
The type of IP addresses used by the subnets for your load balancer. The possible values are
ipv4
(for IPv4 addresses) anddualstack
(for IPv4 and IPv6 addresses).- Parameters:
ipAddressType
- The type of IP addresses used by the subnets for your load balancer. The possible values areipv4
(for IPv4 addresses) anddualstack
(for IPv4 and IPv6 addresses).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheme
The nodes of an Internet-facing load balancer have public IP addresses.
- Parameters:
scheme
- The nodes of an Internet-facing load balancer have public IP addresses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
The IDs of the security groups for the load balancer.
- Parameters:
securityGroups
- The IDs of the security groups for the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
The IDs of the security groups for the load balancer.
- Parameters:
securityGroups
- The IDs of the security groups for the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the load balancer.
- Parameters:
state
- The state of the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the load balancer.
This is a convenience method that creates an instance of theLoadBalancerState.Builder
avoiding the need to create one manually viaLoadBalancerState.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostate(LoadBalancerState)
.- Parameters:
state
- a consumer that will call methods onLoadBalancerState.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of load balancer.
- Parameters:
type
- The type of load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcId
The ID of the VPC for the load balancer.
- Parameters:
vpcId
- The ID of the VPC for the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadBalancerAttributes
AwsElbv2LoadBalancerDetails.Builder loadBalancerAttributes(Collection<AwsElbv2LoadBalancerAttribute> loadBalancerAttributes) Attributes of the load balancer.
- Parameters:
loadBalancerAttributes
- Attributes of the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadBalancerAttributes
AwsElbv2LoadBalancerDetails.Builder loadBalancerAttributes(AwsElbv2LoadBalancerAttribute... loadBalancerAttributes) Attributes of the load balancer.
- Parameters:
loadBalancerAttributes
- Attributes of the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadBalancerAttributes
AwsElbv2LoadBalancerDetails.Builder loadBalancerAttributes(Consumer<AwsElbv2LoadBalancerAttribute.Builder>... loadBalancerAttributes) Attributes of the load balancer.
This is a convenience method that creates an instance of theAwsElbv2LoadBalancerAttribute.Builder
avoiding the need to create one manually viaAwsElbv2LoadBalancerAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toloadBalancerAttributes(List<AwsElbv2LoadBalancerAttribute>)
.- Parameters:
loadBalancerAttributes
- a consumer that will call methods onAwsElbv2LoadBalancerAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-