@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyVerifiedAccessEndpointLoadBalancerOptions 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 |
---|
ModifyVerifiedAccessEndpointLoadBalancerOptions() |
public ModifyVerifiedAccessEndpointLoadBalancerOptions()
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 ModifyVerifiedAccessEndpointLoadBalancerOptions 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 ModifyVerifiedAccessEndpointLoadBalancerOptions withSubnetIds(Collection<String> subnetIds)
The IDs of the subnets.
subnetIds
- The IDs of the subnets.public void setProtocol(String protocol)
The IP protocol.
protocol
- The IP protocol.VerifiedAccessEndpointProtocol
public String getProtocol()
The IP protocol.
VerifiedAccessEndpointProtocol
public ModifyVerifiedAccessEndpointLoadBalancerOptions withProtocol(String protocol)
The IP protocol.
protocol
- The IP protocol.VerifiedAccessEndpointProtocol
public ModifyVerifiedAccessEndpointLoadBalancerOptions 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 ModifyVerifiedAccessEndpointLoadBalancerOptions withPort(Integer port)
The IP port number.
port
- The IP port number.public String toString()
toString
in class Object
Object.toString()
public ModifyVerifiedAccessEndpointLoadBalancerOptions clone()