@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.TunnelProtocol
public String getProtocol()
The protocol used for the attachment connection.
TunnelProtocol
public ConnectAttachmentOptions withProtocol(String protocol)
The protocol used for the attachment connection.
protocol
- The protocol used for the attachment connection.TunnelProtocol
public ConnectAttachmentOptions withProtocol(TunnelProtocol protocol)
The protocol used for the attachment connection.
protocol
- The protocol used for the attachment connection.TunnelProtocol
public String toString()
toString
in class Object
Object.toString()
public ConnectAttachmentOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.