@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VerifiedAccessEndpointLoadBalancerOptions extends Object implements Serializable, Cloneable
Describes a load balancer when creating an Amazon Web Services Verified Access endpoint using the
load-balancer
type.
Constructor and Description |
---|
VerifiedAccessEndpointLoadBalancerOptions() |
public VerifiedAccessEndpointLoadBalancerOptions()
public void setProtocol(String protocol)
The IP protocol.
protocol
- The IP protocol.VerifiedAccessEndpointProtocol
public String getProtocol()
The IP protocol.
VerifiedAccessEndpointProtocol
public VerifiedAccessEndpointLoadBalancerOptions withProtocol(String protocol)
The IP protocol.
protocol
- The IP protocol.VerifiedAccessEndpointProtocol
public VerifiedAccessEndpointLoadBalancerOptions 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 VerifiedAccessEndpointLoadBalancerOptions 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 VerifiedAccessEndpointLoadBalancerOptions 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 VerifiedAccessEndpointLoadBalancerOptions 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 VerifiedAccessEndpointLoadBalancerOptions 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 VerifiedAccessEndpointLoadBalancerOptions clone()