@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTransitGatewayConnectRequestOptions extends Object implements Serializable, Cloneable
The options for a Connect attachment.
Constructor and Description |
---|
CreateTransitGatewayConnectRequestOptions() |
Modifier and Type | Method and Description |
---|---|
CreateTransitGatewayConnectRequestOptions |
clone() |
boolean |
equals(Object obj) |
String |
getProtocol()
The tunnel protocol.
|
int |
hashCode() |
void |
setProtocol(String protocol)
The tunnel protocol.
|
String |
toString()
Returns a string representation of this object.
|
CreateTransitGatewayConnectRequestOptions |
withProtocol(ProtocolValue protocol)
The tunnel protocol.
|
CreateTransitGatewayConnectRequestOptions |
withProtocol(String protocol)
The tunnel protocol.
|
public CreateTransitGatewayConnectRequestOptions()
public void setProtocol(String protocol)
The tunnel protocol.
protocol
- The tunnel protocol.ProtocolValue
public String getProtocol()
The tunnel protocol.
ProtocolValue
public CreateTransitGatewayConnectRequestOptions withProtocol(String protocol)
The tunnel protocol.
protocol
- The tunnel protocol.ProtocolValue
public CreateTransitGatewayConnectRequestOptions withProtocol(ProtocolValue protocol)
The tunnel protocol.
protocol
- The tunnel protocol.ProtocolValue
public String toString()
toString
in class Object
Object.toString()
public CreateTransitGatewayConnectRequestOptions clone()