@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VerifiedAccessEndpointEniOptions extends Object implements Serializable, Cloneable
Options for a network-interface type endpoint.
Constructor and Description |
---|
VerifiedAccessEndpointEniOptions() |
Modifier and Type | Method and Description |
---|---|
VerifiedAccessEndpointEniOptions |
clone() |
boolean |
equals(Object obj) |
String |
getNetworkInterfaceId()
The ID of the network interface.
|
Integer |
getPort()
The IP port number.
|
String |
getProtocol()
The IP protocol.
|
int |
hashCode() |
void |
setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
void |
setPort(Integer port)
The IP port number.
|
void |
setProtocol(String protocol)
The IP protocol.
|
String |
toString()
Returns a string representation of this object.
|
VerifiedAccessEndpointEniOptions |
withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
VerifiedAccessEndpointEniOptions |
withPort(Integer port)
The IP port number.
|
VerifiedAccessEndpointEniOptions |
withProtocol(String protocol)
The IP protocol.
|
VerifiedAccessEndpointEniOptions |
withProtocol(VerifiedAccessEndpointProtocol protocol)
The IP protocol.
|
public void setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.public String getNetworkInterfaceId()
The ID of the network interface.
public VerifiedAccessEndpointEniOptions withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.public void setProtocol(String protocol)
The IP protocol.
protocol
- The IP protocol.VerifiedAccessEndpointProtocol
public String getProtocol()
The IP protocol.
VerifiedAccessEndpointProtocol
public VerifiedAccessEndpointEniOptions withProtocol(String protocol)
The IP protocol.
protocol
- The IP protocol.VerifiedAccessEndpointProtocol
public VerifiedAccessEndpointEniOptions 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 VerifiedAccessEndpointEniOptions withPort(Integer port)
The IP port number.
port
- The IP port number.public String toString()
toString
in class Object
Object.toString()
public VerifiedAccessEndpointEniOptions clone()