Cloneable
, ReadLimitInfo
, ToCopyableBuilder<CreateLoadBalancerRequest.Builder,CreateLoadBalancerRequest>
@Generated("software.amazon.awssdk:codegen") public class CreateLoadBalancerRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<CreateLoadBalancerRequest.Builder,CreateLoadBalancerRequest>
Modifier and Type | Class | Description |
---|---|---|
static interface |
CreateLoadBalancerRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
static CreateLoadBalancerRequest.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
ipAddressType() |
The type of IP addresses used by the subnets for your load balancer.
|
String |
name() |
The name of the load balancer.
|
String |
scheme() |
The nodes of an Internet-facing load balancer have public IP addresses.
|
List<String> |
securityGroups() |
The IDs of the security groups to assign to the load balancer.
|
static Class<? extends CreateLoadBalancerRequest.Builder> |
serializableBuilderClass() |
|
List<String> |
subnets() |
The IDs of the subnets to attach to the load balancer.
|
List<Tag> |
tags() |
One or more tags to assign to the load balancer.
|
CreateLoadBalancerRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public String name()
The name of the load balancer.
This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.
This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.
public List<String> subnets()
The IDs of the subnets to attach to the load balancer. You can specify only one subnet per Availability Zone. You must specify subnets from at least two Availability Zones.
public List<String> securityGroups()
The IDs of the security groups to assign to the load balancer.
public String scheme()
The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the Internet.
The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can only route requests from clients with access to the VPC for the load balancer.
The default is an Internet-facing load balancer.
The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can only route requests from clients with access to the VPC for the load balancer.
The default is an Internet-facing load balancer.
LoadBalancerSchemeEnum
public List<Tag> tags()
One or more tags to assign to the load balancer.
public String ipAddressType()
The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4
(for IPv4 addresses) and dualstack
(for IPv4 and IPv6 addresses). Internal load balancers must use
ipv4
.
ipv4
(for IPv4 addresses) and dualstack
(for IPv4 and IPv6 addresses). Internal
load balancers must use ipv4
.IpAddressType
public CreateLoadBalancerRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateLoadBalancerRequest.Builder,CreateLoadBalancerRequest>
public static CreateLoadBalancerRequest.Builder builder()
public static Class<? extends CreateLoadBalancerRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.