@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateVerifiedAccessEndpointLoadBalancerOptions extends Object implements Serializable, Cloneable
Describes the load balancer options when creating an Amazon Web Services Verified Access endpoint using the
load-balancer
type.
Constructor and Description |
---|
CreateVerifiedAccessEndpointLoadBalancerOptions() |
public CreateVerifiedAccessEndpointLoadBalancerOptions()
public void setProtocol(String protocol)
The IP protocol.
protocol
- The IP protocol.VerifiedAccessEndpointProtocol
public String getProtocol()
The IP protocol.
VerifiedAccessEndpointProtocol
public CreateVerifiedAccessEndpointLoadBalancerOptions withProtocol(String protocol)
The IP protocol.
protocol
- The IP protocol.VerifiedAccessEndpointProtocol
public CreateVerifiedAccessEndpointLoadBalancerOptions withProtocol(VerifiedAccessEndpointProtocol protocol)
The IP protocol.
protocol
- The IP protocol.VerifiedAccessEndpointProtocol
public void setPort(Integer port)
The IP port number.
port
- The IP port number.public Integer getPort()
The IP port number.
public CreateVerifiedAccessEndpointLoadBalancerOptions withPort(Integer port)
The IP port number.
port
- The IP port number.public void setLoadBalancerArn(String loadBalancerArn)
The ARN of the load balancer.
loadBalancerArn
- The ARN of the load balancer.public String getLoadBalancerArn()
The ARN of the load balancer.
public CreateVerifiedAccessEndpointLoadBalancerOptions withLoadBalancerArn(String loadBalancerArn)
The ARN of the load balancer.
loadBalancerArn
- The ARN of the load balancer.public List<String> getSubnetIds()
The IDs of the subnets.
public void setSubnetIds(Collection<String> subnetIds)
The IDs of the subnets.
subnetIds
- The IDs of the subnets.public CreateVerifiedAccessEndpointLoadBalancerOptions withSubnetIds(String... subnetIds)
The IDs of the subnets.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetIds(java.util.Collection)
or withSubnetIds(java.util.Collection)
if you want to
override the existing values.
subnetIds
- The IDs of the subnets.public CreateVerifiedAccessEndpointLoadBalancerOptions withSubnetIds(Collection<String> subnetIds)
The IDs of the subnets.
subnetIds
- The IDs of the subnets.public String toString()
toString
in class Object
Object.toString()
public CreateVerifiedAccessEndpointLoadBalancerOptions clone()