@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TransitGatewayConnectOptions extends Object implements Serializable, Cloneable
Describes the Connect attachment options.
Constructor and Description |
---|
TransitGatewayConnectOptions() |
Modifier and Type | Method and Description |
---|---|
TransitGatewayConnectOptions |
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.
|
TransitGatewayConnectOptions |
withProtocol(ProtocolValue protocol)
The tunnel protocol.
|
TransitGatewayConnectOptions |
withProtocol(String protocol)
The tunnel protocol.
|
public void setProtocol(String protocol)
The tunnel protocol.
protocol
- The tunnel protocol.ProtocolValue
public String getProtocol()
The tunnel protocol.
ProtocolValue
public TransitGatewayConnectOptions withProtocol(String protocol)
The tunnel protocol.
protocol
- The tunnel protocol.ProtocolValue
public TransitGatewayConnectOptions withProtocol(ProtocolValue protocol)
The tunnel protocol.
protocol
- The tunnel protocol.ProtocolValue
public String toString()
toString
in class Object
Object.toString()
public TransitGatewayConnectOptions clone()
Copyright © 2024. All rights reserved.