@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateVerifiedAccessEndpointEniOptions extends Object implements Serializable, Cloneable
Describes the network interface options when creating an Amazon Web Services Verified Access endpoint using the
network-interface
type.
Constructor and Description |
---|
CreateVerifiedAccessEndpointEniOptions() |
Modifier and Type | Method and Description |
---|---|
CreateVerifiedAccessEndpointEniOptions |
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.
|
CreateVerifiedAccessEndpointEniOptions |
withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
CreateVerifiedAccessEndpointEniOptions |
withPort(Integer port)
The IP port number.
|
CreateVerifiedAccessEndpointEniOptions |
withProtocol(String protocol)
The IP protocol.
|
CreateVerifiedAccessEndpointEniOptions |
withProtocol(VerifiedAccessEndpointProtocol protocol)
The IP protocol.
|
public CreateVerifiedAccessEndpointEniOptions()
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 CreateVerifiedAccessEndpointEniOptions 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 CreateVerifiedAccessEndpointEniOptions withProtocol(String protocol)
The IP protocol.
protocol
- The IP protocol.VerifiedAccessEndpointProtocol
public CreateVerifiedAccessEndpointEniOptions 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 CreateVerifiedAccessEndpointEniOptions withPort(Integer port)
The IP port number.
port
- The IP port number.public String toString()
toString
in class Object
Object.toString()
public CreateVerifiedAccessEndpointEniOptions clone()