@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyVerifiedAccessEndpointEniOptions extends Object implements Serializable, Cloneable
Describes the options when modifying a Verified Access endpoint with the network-interface type.
| Constructor and Description |
|---|
ModifyVerifiedAccessEndpointEniOptions() |
| Modifier and Type | Method and Description |
|---|---|
ModifyVerifiedAccessEndpointEniOptions |
clone() |
boolean |
equals(Object obj) |
Integer |
getPort()
The IP port number.
|
String |
getProtocol()
The IP protocol.
|
int |
hashCode() |
void |
setPort(Integer port)
The IP port number.
|
void |
setProtocol(String protocol)
The IP protocol.
|
String |
toString()
Returns a string representation of this object.
|
ModifyVerifiedAccessEndpointEniOptions |
withPort(Integer port)
The IP port number.
|
ModifyVerifiedAccessEndpointEniOptions |
withProtocol(String protocol)
The IP protocol.
|
ModifyVerifiedAccessEndpointEniOptions |
withProtocol(VerifiedAccessEndpointProtocol protocol)
The IP protocol.
|
public ModifyVerifiedAccessEndpointEniOptions()
public void setProtocol(String protocol)
The IP protocol.
protocol - The IP protocol.VerifiedAccessEndpointProtocolpublic String getProtocol()
The IP protocol.
VerifiedAccessEndpointProtocolpublic ModifyVerifiedAccessEndpointEniOptions withProtocol(String protocol)
The IP protocol.
protocol - The IP protocol.VerifiedAccessEndpointProtocolpublic ModifyVerifiedAccessEndpointEniOptions withProtocol(VerifiedAccessEndpointProtocol protocol)
The IP protocol.
protocol - The IP protocol.VerifiedAccessEndpointProtocolpublic void setPort(Integer port)
The IP port number.
port - The IP port number.public Integer getPort()
The IP port number.
public ModifyVerifiedAccessEndpointEniOptions withPort(Integer port)
The IP port number.
port - The IP port number.public String toString()
toString in class ObjectObject.toString()public ModifyVerifiedAccessEndpointEniOptions clone()