public CreateConnectPeerRequest withConnectAttachmentId(String connectAttachmentId) {
        setConnectAttachmentId(connectAttachmentId);
        return this;
    }
<p>
The ID of the connection attachment.
</p>

@param connectAttachmentId
       The ID of the connection attachment.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-networkmanager/src/main/java/com/amazonaws/services/networkmanager/model/CreateConnectPeerRequest.java