@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConnectAttachmentOptions extends Object implements Serializable, Cloneable, StructuredPojo
Describes a core network Connect attachment options.
| Constructor and Description |
|---|
ConnectAttachmentOptions() |
| Modifier and Type | Method and Description |
|---|---|
ConnectAttachmentOptions |
clone() |
boolean |
equals(Object obj) |
String |
getProtocol()
The protocol used for the attachment connection.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setProtocol(String protocol)
The protocol used for the attachment connection.
|
String |
toString()
Returns a string representation of this object.
|
ConnectAttachmentOptions |
withProtocol(String protocol)
The protocol used for the attachment connection.
|
ConnectAttachmentOptions |
withProtocol(TunnelProtocol protocol)
The protocol used for the attachment connection.
|
public void setProtocol(String protocol)
The protocol used for the attachment connection.
protocol - The protocol used for the attachment connection.TunnelProtocolpublic String getProtocol()
The protocol used for the attachment connection.
TunnelProtocolpublic ConnectAttachmentOptions withProtocol(String protocol)
The protocol used for the attachment connection.
protocol - The protocol used for the attachment connection.TunnelProtocolpublic ConnectAttachmentOptions withProtocol(TunnelProtocol protocol)
The protocol used for the attachment connection.
protocol - The protocol used for the attachment connection.TunnelProtocolpublic String toString()
toString in class ObjectObject.toString()public ConnectAttachmentOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.