Interface AwsElbv2LoadBalancerDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsElbv2LoadBalancerDetails.Builder,AwsElbv2LoadBalancerDetails>,SdkBuilder<AwsElbv2LoadBalancerDetails.Builder,AwsElbv2LoadBalancerDetails>,SdkPojo
- Enclosing class:
- AwsElbv2LoadBalancerDetails
public static interface AwsElbv2LoadBalancerDetails.Builder extends SdkPojo, CopyableBuilder<AwsElbv2LoadBalancerDetails.Builder,AwsElbv2LoadBalancerDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AwsElbv2LoadBalancerDetails.BuilderavailabilityZones(Collection<AvailabilityZone> availabilityZones)The Availability Zones for the load balancer.AwsElbv2LoadBalancerDetails.BuilderavailabilityZones(Consumer<AvailabilityZone.Builder>... availabilityZones)The Availability Zones for the load balancer.AwsElbv2LoadBalancerDetails.BuilderavailabilityZones(AvailabilityZone... availabilityZones)The Availability Zones for the load balancer.AwsElbv2LoadBalancerDetails.BuildercanonicalHostedZoneId(String canonicalHostedZoneId)The ID of the Amazon Route 53 hosted zone associated with the load balancer.AwsElbv2LoadBalancerDetails.BuildercreatedTime(String createdTime)Indicates when the load balancer was created.AwsElbv2LoadBalancerDetails.BuilderdnsName(String dnsName)The public DNS name of the load balancer.AwsElbv2LoadBalancerDetails.BuilderipAddressType(String ipAddressType)The type of IP addresses used by the subnets for your load balancer.AwsElbv2LoadBalancerDetails.BuilderloadBalancerAttributes(Collection<AwsElbv2LoadBalancerAttribute> loadBalancerAttributes)Attributes of the load balancer.AwsElbv2LoadBalancerDetails.BuilderloadBalancerAttributes(Consumer<AwsElbv2LoadBalancerAttribute.Builder>... loadBalancerAttributes)Attributes of the load balancer.AwsElbv2LoadBalancerDetails.BuilderloadBalancerAttributes(AwsElbv2LoadBalancerAttribute... loadBalancerAttributes)Attributes of the load balancer.AwsElbv2LoadBalancerDetails.Builderscheme(String scheme)The nodes of an Internet-facing load balancer have public IP addresses.AwsElbv2LoadBalancerDetails.BuildersecurityGroups(String... securityGroups)The IDs of the security groups for the load balancer.AwsElbv2LoadBalancerDetails.BuildersecurityGroups(Collection<String> securityGroups)The IDs of the security groups for the load balancer.default AwsElbv2LoadBalancerDetails.Builderstate(Consumer<LoadBalancerState.Builder> state)The state of the load balancer.AwsElbv2LoadBalancerDetails.Builderstate(LoadBalancerState state)The state of the load balancer.AwsElbv2LoadBalancerDetails.Buildertype(String type)The type of load balancer.AwsElbv2LoadBalancerDetails.BuildervpcId(String vpcId)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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
AwsElbv2LoadBalancerDetails.Builder availabilityZones(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
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.Builderavoiding the need to create one manually viaAvailabilityZone.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#availabilityZones(List.) - 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:
#availabilityZones(java.util.Collection)
-
canonicalHostedZoneId
AwsElbv2LoadBalancerDetails.Builder canonicalHostedZoneId(String 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
AwsElbv2LoadBalancerDetails.Builder createdTime(String createdTime)
Indicates when the load balancer was created.
For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
- Parameters:
createdTime- Indicates when the load balancer was created.For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsName
AwsElbv2LoadBalancerDetails.Builder dnsName(String 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
AwsElbv2LoadBalancerDetails.Builder ipAddressType(String 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
AwsElbv2LoadBalancerDetails.Builder scheme(String 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
AwsElbv2LoadBalancerDetails.Builder securityGroups(Collection<String> 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
AwsElbv2LoadBalancerDetails.Builder securityGroups(String... 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
AwsElbv2LoadBalancerDetails.Builder state(LoadBalancerState 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
default AwsElbv2LoadBalancerDetails.Builder state(Consumer<LoadBalancerState.Builder> state)
The state of the load balancer.
This is a convenience method that creates an instance of theLoadBalancerState.Builderavoiding the need to create one manually viaLoadBalancerState.builder().When the
Consumercompletes,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:
state(LoadBalancerState)
-
type
AwsElbv2LoadBalancerDetails.Builder type(String 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
AwsElbv2LoadBalancerDetails.Builder vpcId(String 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.Builderavoiding the need to create one manually viaAwsElbv2LoadBalancerAttribute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#loadBalancerAttributes(List.) - 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:
#loadBalancerAttributes(java.util.Collection)
-
-