@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConnectAttachment extends Object implements Serializable, Cloneable, StructuredPojo
Describes a core network Connect attachment.
Constructor and Description |
---|
ConnectAttachment() |
Modifier and Type | Method and Description |
---|---|
ConnectAttachment |
clone() |
boolean |
equals(Object obj) |
Attachment |
getAttachment()
The attachment details.
|
ConnectAttachmentOptions |
getOptions()
Options for connecting an attachment.
|
String |
getTransportAttachmentId()
The ID of the transport attachment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttachment(Attachment attachment)
The attachment details.
|
void |
setOptions(ConnectAttachmentOptions options)
Options for connecting an attachment.
|
void |
setTransportAttachmentId(String transportAttachmentId)
The ID of the transport attachment.
|
String |
toString()
Returns a string representation of this object.
|
ConnectAttachment |
withAttachment(Attachment attachment)
The attachment details.
|
ConnectAttachment |
withOptions(ConnectAttachmentOptions options)
Options for connecting an attachment.
|
ConnectAttachment |
withTransportAttachmentId(String transportAttachmentId)
The ID of the transport attachment.
|
public void setAttachment(Attachment attachment)
The attachment details.
attachment
- The attachment details.public Attachment getAttachment()
The attachment details.
public ConnectAttachment withAttachment(Attachment attachment)
The attachment details.
attachment
- The attachment details.public void setTransportAttachmentId(String transportAttachmentId)
The ID of the transport attachment.
transportAttachmentId
- The ID of the transport attachment.public String getTransportAttachmentId()
The ID of the transport attachment.
public ConnectAttachment withTransportAttachmentId(String transportAttachmentId)
The ID of the transport attachment.
transportAttachmentId
- The ID of the transport attachment.public void setOptions(ConnectAttachmentOptions options)
Options for connecting an attachment.
options
- Options for connecting an attachment.public ConnectAttachmentOptions getOptions()
Options for connecting an attachment.
public ConnectAttachment withOptions(ConnectAttachmentOptions options)
Options for connecting an attachment.
options
- Options for connecting an attachment.public String toString()
toString
in class Object
Object.toString()
public ConnectAttachment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.